/**
 * DEEP SSO Frontend Styles
 */

/* Login Button */
.deep-sso-login-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #2271b1 0%, #135e96 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.deep-sso-login-button:hover {
    background: linear-gradient(135deg, #135e96 0%, #0a4b78 100%);
    color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.deep-sso-login-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.deep-sso-login-button:focus {
    outline: 2px solid #2271b1;
    outline-offset: 2px;
}

/* Login Link */
.deep-sso-login-link {
    color: #2271b1;
    text-decoration: none;
    font-weight: 500;
}

.deep-sso-login-link:hover {
    color: #135e96;
    text-decoration: underline;
}

/* Logout Link */
.deep-sso-logout-link {
    color: #646970;
    text-decoration: none;
}

.deep-sso-logout-link:hover {
    color: #d63638;
    text-decoration: underline;
}

/* SSO Icon */
.deep-sso-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

/* User Info Display */
.deep-sso-user-info {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background-color: #f6f7f7;
    border-radius: 8px;
    border: 1px solid #dcdcde;
}

.deep-sso-user-avatar {
    flex-shrink: 0;
}

.deep-sso-user-avatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.deep-sso-user-details {
    flex: 1;
}

.deep-sso-user-details p {
    margin: 0 0 5px 0;
}

.deep-sso-user-name {
    font-size: 16px;
    font-weight: 600;
    color: #1d2327;
}

.deep-sso-user-email {
    font-size: 14px;
    color: #646970;
}

.deep-sso-user-wallet {
    font-size: 12px;
    color: #646970;
    font-family: monospace;
}

.deep-sso-user-wallet .wallet-label {
    font-weight: 600;
}

.deep-sso-user-picture {
    border-radius: 50%;
    object-fit: cover;
}

/* Protected Content */
.deep-sso-protected-message {
    text-align: center;
    padding: 30px;
    background-color: #f6f7f7;
    border-radius: 8px;
    border: 1px solid #dcdcde;
}

.deep-sso-protected-message p {
    margin: 0 0 15px 0;
    color: #646970;
}

.deep-sso-protected-content {
    /* Add any specific styles for protected content */
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .deep-sso-user-info {
        background-color: #2c3338;
        border-color: #3c434a;
    }

    .deep-sso-user-name {
        color: #f0f0f1;
    }

    .deep-sso-user-email,
    .deep-sso-user-wallet {
        color: #a7aaad;
    }

    .deep-sso-protected-message {
        background-color: #2c3338;
        border-color: #3c434a;
    }

    .deep-sso-protected-message p {
        color: #a7aaad;
    }
}
