 :root {
     --primary: #4361ee;
     --primary-light: #ebf0ff;
     --secondary: #3f37c9;
     --success: #4cc9f0;
     --text: #2b2d42;
     --text-light: #8d99ae;
     --border: #edf2f4;
     --white: #ffffff;
     --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
     --radius: 16px;
     --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
 }

 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
 }

 body {
     font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
     background-color: #f8fafc;
     color: var(--text);
     display: flex;
     justify-content: center;
     align-items: center;
     min-height: 100vh;
     line-height: 1.6;
     padding: 20px;
     background-image: radial-gradient(at 0% 0%, rgba(var(--primary-rgb), 0.05) 0px, transparent 50%), radial-gradient(at 100% 100%, rgba(var(--secondary-rgb), 0.05) 0px, transparent 50%);
 }

 .container {
     width: 100%;
     max-width: 460px;
     background-color: var(--white);
     border-radius: var(--radius);
     box-shadow: var(--shadow);
     overflow: hidden;
     position: relative;
     z-index: 1;
 }

     .container::before {
         content: '';
         position: absolute;
         top: 0;
         left: 0;
         width: 100%;
         height: 180px;
         background: linear-gradient(135deg, var(--primary), var(--secondary));
         z-index: -1;
         clip-path: ellipse(100% 65% at 50% 0%);
     }

 .header {
     padding: 40px 40px 30px;
     text-align: center;
 }

 .logo {
     width: 72px;
     height: 72px;
     background-color: var(--white);
     border-radius: 50%;
     display: inline-flex;
     align-items: center;
     justify-content: center;
     box-shadow: var(--shadow);
     margin-bottom: 20px;
 }

     .logo svg {
         width: 36px;
         height: 36px;
         color: var(--primary);
     }

 .header h1 {
     font-size: 24px;
     font-weight: 700;
     color: var(--white);
     margin-bottom: 8px;
 }

 .header p {
    
     font-size: 15px;
 }

 .card {
     padding: 0 40px 40px;
 }

 .tabs {
     display: flex;
     background-color: var(--white);
     border-radius: 12px;
     padding: 6px;
     margin-bottom: 30px;
     box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
 }

 .tab {
     flex: 1;
     text-align: center;
     padding: 12px;
     cursor: pointer;
     font-weight: 600;
     color: var(--text-light);
     transition: var(--transition);
     border-radius: 8px;
     position: relative;
 }

     .tab.active {
         color: var(--primary);
         background-color: var(--primary-light);
     }

 .form-container {
     display: none;
     animation: fadeIn 0.4s ease-out;
 }

     .form-container.active {
         display: block;
     }

 @keyframes fadeIn {
     from {
         opacity: 0;
         transform: translateY(10px);
     }

     to {
         opacity: 1;
         transform: translateY(0);
     }
 }

 .form-group {
     margin-bottom: 20px;
 }

     .form-group label {
         display: block;
         margin-bottom: 8px;
         font-size: 14px;
         font-weight: 500;
         color: var(--text);
     }

 .input-wrapper {
     position: relative;
 }

 .form-control {
     width: 100%;
     padding: 14px 16px;
     border: 1px solid var(--border);
     border-radius: 12px;
     font-size: 15px;
     transition: var(--transition);
     background-color: var(--white);
     color: var(--text);
 }

     .form-control:focus {
         border-color: var(--primary);
         box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.15);
         outline: none;
     }

 .captcha-group {
     display: flex;
     gap: 12px;
 }

 .captcha-input {
     flex: 1;
 }

 .captcha-btn {
     min-width: 120px;
     background-color: var(--primary-light);
     border: none;
     border-radius: 12px;
     color: var(--primary);
     font-size: 14px;
     font-weight: 600;
     cursor: pointer;
     transition: var(--transition);
     padding: 0 16px;
 }

     .captcha-btn:hover {
         background-color: rgba(67, 97, 238, 0.1);
     }

     .captcha-btn:disabled {
         background-color: var(--border);
         color: var(--text-light);
         cursor: not-allowed;
     }

 .btn {
     width: 100%;
     padding: 16px;
     background: linear-gradient(135deg, var(--primary), var(--secondary));
     border: none;
     border-radius: 12px;
     color: white;
     font-size: 16px;
     font-weight: 600;
     cursor: pointer;
     transition: var(--transition);
     margin-top: 10px;
     box-shadow: 0 4px 12px rgba(67, 97, 238, 0.2);
 }

     .btn:hover {
         transform: translateY(-2px);
         box-shadow: 0 6px 16px rgba(67, 97, 238, 0.3);
     }

     .btn:active {
         transform: translateY(0);
     }

 .footer {
     margin-top: 30px;
     text-align: center;
     font-size: 13px;
     color: var(--text-light);
 }

     .footer a {
         color: var(--primary);
         text-decoration: none;
         font-weight: 500;
         transition: var(--transition);
     }

         .footer a:hover {
             text-decoration: underline;
         }

 .divider {
     display: flex;
     align-items: center;
     margin: 25px 0;
     color: var(--text-light);
     font-size: 13px;
     font-weight: 500;
 }

     .divider::before, .divider::after {
         content: '';
         flex: 1;
         height: 1px;
         background-color: var(--border);
     }

     .divider::before {
         margin-right: 16px;
     }

     .divider::after {
         margin-left: 16px;
     }

 .social-login {
     display: flex;
     justify-content: center;
     gap: 16px;
 }

 .social-btn {
     width: 48px;
     height: 48px;
     border-radius: 50%;
     display: flex;
     justify-content: center;
     align-items: center;
     background-color: var(--white);
     border: 1px solid var(--border);
     cursor: pointer;
     transition: var(--transition);
 }

     .social-btn:hover {
         transform: translateY(-3px);
         box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
         border-color: var(--primary);
     }

     .social-btn svg {
         width: 20px;
         height: 20px;
     }

 .other-options {
     margin-top: 20px;
     text-align: center;
     font-size: 14px;
     color: var(--text-light);
 }

     .other-options a {
         color: var(--primary);
         text-decoration: none;
         font-weight: 500;
         transition: var(--transition);
     }

         .other-options a:hover {
             text-decoration: underline;
         }

 @media (max-width: 480px) {
     .header, .card {
         padding-left: 24px;
         padding-right: 24px;
     }

     .header {
         padding-top: 32px;
     }

     .card {
         padding-bottom: 32px;
     }

     .logo {
         width: 60px;
         height: 60px;
     }

         .logo svg {
             width: 28px;
             height: 28px;
         }
 }
 
 
 .form-group.home {
     background: #79787833;
     padding: 10px;
     border-radius: 10px;
 }
 

 .form-group.home .btn {
 }

.btns {
    display: flex;
    justify-content: space-between;
}

.btns button {
    width: 45%;
}

.btns button:nth-child(2) {
    background: #ff6868;
}