/* Custom Auth UI Styles - Redesign Stacked Social Buttons */

/* Login Form Wrapper */
.sys-lf {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    max-width: 420px;
    margin: 20px auto;
}

/* SOCIAL ICONS STACKED DESIGN */
.sys-auth-block {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    margin-bottom: 25px !important;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
}

.sys-auth-block .sys-auth {
    width: 100% !important;
}

/* Target the button (a tag) */
.sys-auth-block .sys-auth a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    /* CENTRALIZAR */
    width: 100% !important;
    height: 50px !important;
    border-radius: 8px !important;
    padding: 0 20px !important;
    border: none !important;
    text-decoration: none !important;
    color: #fff !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
    margin-bottom: 5px !important;
}

.sys-auth-block .sys-auth a:hover {
    filter: brightness(1.1) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15) !important;
}

.sys-auth-block .sys-auth a:active {
    transform: translateY(0);
}

/* BRAND COLORS AND TEXT */

/* Google - Usually white with border but requested stacked color maybe? 
   Standard UNA/Dolphin text is "__title__" (e.g. "Google", "Facebook") 
   I will use the title attribute or the text content to style individual buttons if possible, 
   or rely on the fact that Google and Facebook are common.
*/

/* Specific colors for providers based on commonly used titles */
/* We target href or title attributes as they are most reliable across different UNA modules */

/* Facebook */
.sys-auth-block .sys-auth a[href*="facebook"],
.sys-auth-block .sys-auth a[title*="Facebook"] {
    background-color: #3b5998 !important;
}

/* Google */
.sys-auth-block .sys-auth a[href*="google"],
.sys-auth-block .sys-auth a[title*="Google"] {
    background-color: #db4437 !important;
    /* Google Red */
    color: #ffffff !important;
}

/* Apple */
.sys-auth-block .sys-auth a[href*="apple"],
.sys-auth-block .sys-auth a[title*="Apple"] {
    background-color: #000000 !important;
}

/* LinkedIn - White background, black icon/text */
.sys-auth-block .sys-auth a[href*="linkedin"],
.sys-auth-block .sys-auth a[title*="LinkedIn"] {
    background-color: #ffffff !important;
    color: #000000 !important;
    border: 1px solid #000000 !important;
}

/* Twitter / X */
.sys-auth-block .sys-auth a[href*="twitter"],
.sys-auth-block .sys-auth a[title*="Twitter"] {
    background-color: #1da1f2 !important;
}

/* Amazon */
.sys-auth-block .sys-auth a[href*="amazon"],
.sys-auth-block .sys-auth a[title*="Amazon"] {
    background-color: #ff9900 !important;
    color: #000 !important;
}

/* Icon Resizing */
/* Icons */
.sys-auth-block .sys-auth a .sys-auth-icon {
    width: 24px !important;
    height: 24px !important;
    margin-right: 15px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 20px !important;
}

/* Labels */
.sys-auth-block .sys-auth a .sys-auth-text {
    display: inline-block !important;
    visibility: visible !important;
    font-size: 14px !important;
    white-space: nowrap !important;
}

/* MANUAL LOGIN TOGGLE BUTTON */
.manual-login-toggle-container {
    text-align: center;
    margin: 20px 0;
}

.manual-login-toggle-container button {
    background: #f8f9fa !important;
    color: #333 !important;
    border: 1px solid #ddd !important;
    padding: 12px 25px !important;
    font-size: 14px !important;
    border-radius: 50px !important;
    /* ROUND BUTTON AS REQUESTED */
    cursor: pointer !important;
    font-weight: 600 !important;
    transition: all 0.2s ease !important;
    width: 100% !important;
}

.manual-login-toggle-container button:hover {
    background: #e2e6ea !important;
    border-color: #dae0e5 !important;
}

/* FORM ELEMENTS STYLING */
.sys-lf input[type="text"],
.sys-lf input[type="password"],
.sys-lf input[type="email"] {
    width: 100% !important;
    padding: 12px 15px !important;
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
    font-size: 15px !important;
    box-sizing: border-box !important;
    margin-bottom: 15px !important;
}

.sys-lf button[type="submit"],
.sys-lf .bx-btn-primary {
    width: 100% !important;
    background-color: #000 !important;
    /* Elegant black button */
    color: #fff !important;
    padding: 14px !important;
    border-radius: 50px !important;
    /* ROUND SUBMIT BUTTON AS REQUESTED */
    border: none !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    cursor: pointer !important;
}