/* Base styles */
* {
    margin: 0 ;
    padding: 0 ;
    box-sizing: border-box ;
    font-family: 'Segoe UI', Arial, sans-serif;
}

body {
    /*background: linear-gradient(135deg, #f6f9fc, #e9f0f7) ;*/
    min-height: 100vh ;
    display: flex ;
    flex-direction: column ;
    color: #333 ;
    position: relative ;
}

body::before {
    content: '' ;
    position: absolute ;
    top: 0 ;
    left: 0 ;
    width: 100% ;
    height: 100% ;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect fill="rgba(255,255,255,0.03)" width="50" height="50" x="0" y="0" /><rect fill="rgba(255,255,255,0.03)" width="50" height="50" x="50" y="50" /></svg>') ;
    background-size: 100px 100px ;
    pointer-events: none ;
    z-index: -1 ;
}

.ssocontainer {
    display: flex ;
    flex: 1 ;
    max-width: 900px ;
    margin: 40px auto ;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1), 0 10px 30px rgba(0, 0, 0, 0.08) ;
    border-radius: 24px ;
    overflow: hidden ;
    position: relative ;
}

.loading-overlay-img
{
    width: 45px;
    margin: 17px;
}

/* Login ssocontainer styles */
.login-ssocontainer {
    flex: 1 ;
    background-color: #fff ;
    padding: 40px ;
    display: flex ;
    flex-direction: column ;
    position: relative ;
    overflow: hidden ;
}

.login-ssocontainer::before {
    content: '' ;
    position: absolute ;
    top: -150px ;
    right: -150px ;
    width: 300px ;
    height: 300px ;
    background: linear-gradient(135deg, rgba(66, 133, 244, 0.1), rgba(219, 68, 55, 0.1)) ;
    border-radius: 50% ;
    z-index: 0 ;
}

.login-ssocontainer::after {
    content: '' ;
    position: absolute ;
    bottom: -150px ;
    left: -150px ;
    width: 300px ;
    height: 300px ;
    background: linear-gradient(135deg, rgba(15, 157, 88, 0.1), rgba(244, 180, 0, 0.1)) ;
    border-radius: 50% ;
    z-index: 0 ;
}

.login-header {
    text-align: center ;
    margin-bottom: 40px ;
    position: relative ;
    z-index: 1 ;
}

.login-header .logo {
    height: 90px ;
    margin-bottom: 25px ;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1)) ;
    transition: transform 0.3s ease ;
}

.login-header .logo:hover {
    transform: scale(1.05) ;
}

.login-header h1 {
    color: #4285F4 ;
    font-size: 20px ;
    margin-bottom: 12px ;
    font-weight: 700 ;
    letter-spacing: -0.5px ;
}

.login-header p {
    color: #5f6368 ;
    font-size: 14px ;
    max-width: 400px ;
    margin: 0 auto ;
    line-height: 1.5 ;
}

/* Login methods */
.login-methods.accordion {
    display: flex ;
    flex-direction: column ;
    gap: 16px ;
    margin-top: 30px ;
    position: relative ;
    z-index: 1 ;
}

.method-card {
    background-color: #fff ;
    border-radius: 16px ;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05), 0 2px 6px rgba(0, 0, 0, 0.03) ;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) ;
    display: flex ;
    flex-direction: column ;
    position: relative ;
    overflow: hidden ;
    border: 1px solid rgba(0, 0, 0, 0.05) ;
    width: -webkit-fill-available;
}

.method-card::before {
    content: '' ;
    position: absolute ;
    top: 0 ;
    left: 0 ;
    width: 100% ;
    height: 6px ;
    background: linear-gradient(90deg, transparent, transparent) ;
    transition: all 0.4s ease ;
    opacity: 0 ;
}

.method-card[data-method="password"]::before {
    background: linear-gradient(90deg, #4285F4, #34A853) ;
}

.method-card[data-method="edevlet"]::before {
    background: linear-gradient(90deg, #EA4335, #FBBC05) ;
}

.method-card[data-method="eimza"]::before {
    background: linear-gradient(90deg, #34A853, #4285F4) ;
}

.method-card[data-method="passwordless"]::before {
    background: linear-gradient(90deg, #c68415, #4285F4) ;
}

.method-card:hover::before {
    opacity: 1 ;
}

.method-card.active {
    border-color: rgba(66, 133, 244, 0.3) ;
    box-shadow: 0 15px 30px rgba(66, 133, 244, 0.15), 0 5px 15px rgba(66, 133, 244, 0.1) ;
}

.method-card.active::before {
    opacity: 1 ;
    height: 8px ;
}

/* Method header styles */
.method-header {
    display: flex ;
    align-items: center ;
    padding: 13px 15px ;
    cursor: pointer ;
    position: relative ;
    transition: all 0.3s ease ;
}

.method-header:hover {
    background-color: rgba(0, 0, 0, 0.02) ;
}

.method-header h3 {
    font-size: 16px ;
    color: #202124 ;
    font-weight: 600 ;
    transition: all 0.3s ease ;
    margin: 0 0 0 16px ;
    flex-grow: 1 ;
}

.method-header img
{
    width: 40px;
    margin-right: 104px;
}

.method-card[data-method="password"] .method-header h3 {
    color: #4285F4 ;
}

.method-card[data-method="edevlet"] .method-header h3 {
    color: #EA4335 ;
}

.method-card[data-method="eimza"] .method-header h3 {
    color: #34A853 ;
}

.method-card[data-method="passwordless"] .method-header h3 {
    color: #c68415 ;
}

.method-icon {
    display: flex ;
    align-items: center ;
    justify-content: center ;
    width: 30px ;
    height: 30px ;
    border-radius: 50% ;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) ;
    position: relative ;
    background: #f5f9ff ;
    flex-shrink: 0 ;
}

.method-card[data-method="password"] .method-icon {
    background: linear-gradient(135deg, #e8f0fe, #d2e3fc) ;
    color: #4285F4 ;
}

.method-card[data-method="edevlet"] .method-icon {
    background: linear-gradient(135deg, #fce8e6, #fadbd8) ;
    color: #EA4335 ;
}

.method-card[data-method="eimza"] .method-icon {
    background: linear-gradient(135deg, #e6f4ea, #ceead6) ;
    color: #34A853 ;
}

.method-card[data-method="passwordless"] .method-icon {
    background: linear-gradient(135deg, #e6f4ea, #ceead6) ;
    color: #c68415;
}

.method-icon i {
    font-size: 17px ;
    transition: all 0.4s ease ;
}

.method-card.active .method-header .method-icon {
    transform: scale(1.1) ;
}

/* Accordion icon styles */
.accordion-icon {
    width: 24px ;
    height: 24px ;
    display: flex ;
    align-items: center ;
    justify-content: center ;
    transition: all 0.3s ease ;
    color: #5f6368 ;
}

.method-card.active .accordion-icon {
    transform: rotate(180deg) ;
}

/* Method content styles */
.method-content {
    max-height: 0 ;
    overflow: hidden ;
    transition: max-height 0.5s ease, padding 0.3s ease ;
    padding: 0 24px ;
    border-top: 1px solid transparent ;
}

.method-card.active .method-content {
    max-height: 200px ; /* Adjust based on content */
    padding: 20px 24px ;
    border-top: 1px solid rgba(0, 0, 0, 0.05) ;
}

.method-info {
    margin-bottom: 20px ;
}

.method-info p {
    color: #5f6368 ;
    font-size: 15px ;
    line-height: 1.6 ;
    margin: 0 ;
    transition: all 0.4s ease ;
}

.method-action {
    display: flex ;
    justify-content: flex-end ;
}

.select-method-btn {
    padding: 10px 20px ;
    background-color: #f8f9fa ;
    color: #202124 ;
    border: 1px solid #dadce0 ;
    border-radius: 8px ;
    font-size: 15px ;
    font-weight: 500 ;
    cursor: pointer ;
    transition: all 0.3s ease ;
    position: relative ;
    overflow: hidden ;
}

.method-card[data-method="password"] .select-method-btn:hover,
.method-card[data-method="password"].active .select-method-btn {
    background-color: #4285F4 ;
    color: white ;
    border-color: #4285F4 ;
}

.method-card[data-method="edevlet"] .select-method-btn:hover,
.method-card[data-method="edevlet"].active .select-method-btn {
    background-color: #EA4335 ;
    color: white ;
    border-color: #EA4335 ;
}

.method-card[data-method="eimza"] .select-method-btn:hover,
.method-card[data-method="eimza"].active .select-method-btn {
    background-color: #34A853 ;
    color: white ;
    border-color: #34A853 ;
}

.method-card[data-method="passwordless"] .select-method-btn:hover,
.method-card[data-method="passwordless"].active .select-method-btn {
    background-color: #c68415 ;
    color: white ;
    border-color: #c68415 ;
}

.select-method-btn::after {
    content: '' ;
    position: absolute ;
    top: 50% ;
    left: 50% ;
    width: 5px ;
    height: 5px ;
    background: rgba(255, 255, 255, 0.5) ;
    opacity: 0 ;
    border-radius: 100% ;
    transform: scale(1, 1) translate(-50%) ;
    transform-origin: 50% 50% ;
}

.select-method-btn:hover::after {
    animation: ripple 1s ease-out ;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0) ;
        opacity: 0.5 ;
    }
    100% {
        transform: scale(20, 20) ;
        opacity: 0 ;
    }
}

/* Placeholder for future methods */
.method-placeholder {
    background-color: #f8f9fa ;
    border: 2px dashed #dadce0 ;
    opacity: 0.8 ;
    cursor: default ;
}

.method-placeholder:hover {
    transform: none ;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05), 0 2px 6px rgba(0, 0, 0, 0.03) ;
}

.method-placeholder .method-icon {
    background: #f1f3f4 ;
    color: #9aa0a6 ;
}

.method-placeholder .method-info h3 {
    color: #5f6368 ;
}

.method-placeholder .method-info p {
    color: #80868b ;
}

/* Info ssocontainer styles */
.info-ssocontainer {
    flex: 1 ;
    background: linear-gradient(135deg, #4285F4, #0F9D58) ;
    color: white ;
    padding: 50px ;
    display: flex ;
    flex-direction: column ;
    justify-content: center ;
    position: relative ;
    overflow: hidden ;
}

.info-ssocontainer::before {
    content: '' ;
    position: absolute ;
    top: 0 ;
    left: 0 ;
    width: 100% ;
    height: 100% ;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect fill="rgba(255,255,255,0.05)" width="50" height="50" x="0" y="0" /><rect fill="rgba(255,255,255,0.05)" width="50" height="50" x="50" y="50" /></svg>') ;
    background-size: 100px 100px ;
    opacity: 0.5 ;
    z-index: 0 ;
}

.info-content {
    /*max-width: 450px ;*/
    position: relative ;
    z-index: 1 ;
}

.info-content h2 {
    font-size: 30px ;
    margin-bottom: 24px ;
    font-weight: 700 ;
    letter-spacing: -0.5px ;
    position: relative ;
    display: inline-block ;
}

.info-content h2::after {
    content: '' ;
    position: absolute ;
    bottom: -10px ;
    left: 0 ;
    width: 60px ;
    height: 4px ;
    background-color: #FBBC05 ;
    border-radius: 2px ;
}

.info-content p {
    font-size: 18px ;
    margin-bottom: 40px ;
    line-height: 1.7 ;
    color: rgba(255, 255, 255, 0.95) ;
}

/* Features */
.features {
    display: flex ;
    flex-direction: column ;
    gap: 30px ;
    /*margin-bottom: 50px ;*/
}

@media (max-width: 500px) {
    .features {
      display: none;
    }
    .container
    {
        padding: 0px;
    }
}



.feature {
    display: flex ;
    align-items: flex-start ;
    gap:17px ;
    transition: all 0.3s ease ;
    padding: 10px ;
    border-radius: 12px ;
    background-color: rgba(255, 255, 255, 0.1) ;
    backdrop-filter: blur(5px) ;
    -webkit-backdrop-filter: blur(5px) ;
}

.feature:hover {
    background-color: rgba(255, 255, 255, 0.15) ;
    transform: translateX(5px) ;
}

.feature i {
    display: flex ;
    align-items: center ;
    justify-content: center ;
    width: 50px ;
    height: 50px ;
    font-size: 22px ;
    color: white ;
    background-color: rgba(255, 255, 255, 0.2) ;
    border-radius: 50% ;
    transition: all 0.3s ease ;
}

.feature:nth-child(1) i {
    background-color: rgba(251, 188, 5, 0.3) ;
}

.feature:nth-child(2) i {
    background-color: rgba(234, 67, 53, 0.3) ;
}

.feature:nth-child(3) i {
    background-color: rgba(66, 133, 244, 0.3) ;
}

.feature:hover i {
    transform: scale(1.1) rotate(5deg) ;
}

.feature h3 {
    font-size: 20px ;
    margin-bottom: 8px ;
    font-weight: 600 ;
}

.feature p {
    font-size: 13px ;
    margin-bottom: 0 ;
    line-height: 1.6 ;
    color: rgba(255, 255, 255, 0.9) ;
}

/* Help links */
.help-links {
    display: flex ;
    flex-direction: column ;
    gap: 16px ;
    margin-top: 50px ;
    background-color: rgba(255, 255, 255, 0.1) ;
    padding: 20px ;
    border-radius: 12px ;
    backdrop-filter: blur(5px) ;
    -webkit-backdrop-filter: blur(5px) ;
}

.help-links a {
    color: white ;
    text-decoration: none ;
    font-size: 15px ;
    display: flex ;
    align-items: center ;
    gap: 12px ;
    transition: all 0.3s ease ;
    padding: 10px ;
    border-radius: 8px ;
}

.help-links a:hover {
    background-color: rgba(255, 255, 255, 0.15) ;
    transform: translateX(5px) ;
}

.help-links a i {
    width: 30px ;
    height: 30px ;
    display: flex ;
    align-items: center ;
    justify-content: center ;
    background-color: rgba(255, 255, 255, 0.2) ;
    border-radius: 50% ;
    transition: all 0.3s ease ;
}

.help-links a:hover i {
    transform: rotate(15deg) ;
}



/* Animations */
@keyframes pulse {
    0% {
        transform: scale(1) ;
    }
    50% {
        transform: scale(1.05) ;
    }
    100% {
        transform: scale(1) ;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0 ;
        transform: translateY(10px) ;
    }
    to {
        opacity: 1 ;
        transform: translateY(0) ;
    }
}

@keyframes slideIn {
    from {
        transform: translateX(30px) ;
        opacity: 0 ;
    }
    to {
        transform: translateX(0) ;
        opacity: 1 ;
    }
}

.method-card.active {
    /* Removed pulse animation that was causing unwanted shaking */
}

.method-card {
    animation: fadeIn 0.5s ease-out ;
}

.method-card:nth-child(1) {
    animation-delay: 0.1s ;
}

.method-card:nth-child(2) {
    animation-delay: 0.2s ;
}

.method-card:nth-child(3) {
    animation-delay: 0.3s ;
}

.method-card:nth-child(4) {
    animation-delay: 0.4s ;
}

.feature {
    animation: slideIn 0.5s ease-out ;
}

.feature:nth-child(1) {
    animation-delay: 0.2s ;
}

.feature:nth-child(2) {
    animation-delay: 0.4s ;
}

.feature:nth-child(3) {
    animation-delay: 0.6s ;
}

@media (min-width: 2000px) { .container {

    margin-top: 120px;
}
}


/* Responsive design */
@media (max-width: 992px) {
    .ssocontainer{
        flex-direction: column ;
        margin: 20px 0 ;
        border-radius: 0 ;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) ;
    }

    .login-ssocontainer,
    .info-ssocontainer {
        padding: 40px 30px ;
    }

    .info-ssocontainer {
        order: -1 ;
        padding-bottom: 60px ;
    }

    .info-content {
        max-width: 100% ;
    }

    .features {
        margin-bottom: 30px ;
    }

    .help-links {
        margin-top: 30px ;
        flex-direction: row ;
        flex-wrap: wrap ;
        justify-content: center ;
        gap: 15px ;
    }

    .help-links a {
        flex: 1 ;
        min-width: 200px ;
        justify-content: center ;
    }
}

@media (max-width: 768px) {
    .login-methods.accordion {
        gap: 12px ;
    }

    .method-card {
        max-width: 500px ;
        margin: 0 auto ;
    }

    .method-header {
        padding: 16px 20px ;
    }

    .method-card.active .method-content {
        padding: 16px 20px ;
    }

    .method-icon {
        width: 40px ;
        height: 40px ;
    }

    .method-icon i {
        font-size: 18px ;
    }

    .method-header h3 {
        font-size: 16px ;
        margin-left: 12px ;
    }

    .login-header h1 {
        font-size: 28px ;
    }

    .info-content h2 {
        font-size: 32px ;
    }

    .feature {
        padding: 12px ;
    }
}

@media (max-width: 576px) {
    body {
        /*background: linear-gradient(135deg, #f9fafc, #edf2f7) ;*/
    }

    .ssocontainer {
        margin: 0 ;
        box-shadow: none ;
    }

    .login-ssocontainer,
    .info-ssocontainer {
        padding: 25px 15px ;
    }

    .login-header .logo {
        height: 60px ;
        margin-bottom: 15px ;
    }

    .login-header h1 {
        font-size: 22px ;
    }

    .login-header p {
        font-size: 14px ;
    }

    .login-methods.accordion {
        gap: 10px ;
        margin-top: 20px ;
    }

    .method-card {
        border-radius: 12px ;
    }

    .method-header {
        padding: 14px 16px ;
        width: 450px;
    }

    .method-card.active .method-content {
        padding: 14px 16px ;
        max-height: 150px ;
    }

    .method-icon {
        width: 36px ;
        height: 36px ;
    }

    .method-icon i {
        font-size: 16px ;
    }

    .method-header h3 {
        font-size: 15px ;
        margin-left: 10px ;
    }

    .accordion-icon {
        width: 20px ;
        height: 20px ;
    }

    .method-info {
        margin-bottom: 15px ;
    }

    .method-info p {
        font-size: 13px ;
        line-height: 1.4 ;
    }

    .select-method-btn {
        padding: 8px 16px ;
        font-size: 14px ;
    }

    .feature {
        flex-direction: column ;
        gap: 15px ;
        align-items: center ;
        text-align: center ;
        padding: 20px 15px ;
    }

    .feature i {
        margin-bottom: 5px ;
    }

    .feature h3 {
        font-size: 18px ;
    }

    .help-links {
        flex-direction: column ;
        padding: 15px ;
    }

    .info-content h2 {
        font-size: 26px ;
    }

    .info-content p {
        font-size: 15px ;
        margin-bottom: 25px ;
    }


   
}
