/* 
   Auth Alignment Styles 
   Ensures all buttons (Login, Sign Up, Google, Microsoft) 
   have consistent widths and centering.
*/

.auth-form-wrapper {
    width: 100%;
    margin: 0;
}

.auth-button-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-top: 20px;
    width: 100%;
}

/* Base styles for all auth buttons to ensure they match */
.btn-auth-primary, .btn-oauth {
    width: 100% !important;
    max-width: none;
    height: 44px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    transition: opacity 0.2s;
    border: none;
    cursor: pointer;
}

.btn-auth-primary:hover, .btn-oauth:hover {
    opacity: 0.9;
    color: #fff;
}

/* Specific button styles */
.btn-submit {
    background-color: #222; /* Black as seen in original design/screenshot */
    color: #fff;
    text-transform: uppercase;
}

.btn-submit:hover {
    background-color: #000;
}

.btn-google {
    background-color: #fff;
    color: #3c4043 !important;
    border: 1px solid #dadce0 !important;
    border-radius: 4px;
    box-shadow: none;
    font-size: 14px;
    font-weight: 500;
}

.btn-google:hover {
    background-color: #f8f9fa;
    border-color: #d2d2d2 !important;
}

.btn-microsoft {
    background-color: #fff;
    color: #5E5E5E !important;
    border: 1px solid #dadce0 !important; /* Standard Microsoft/Google border color */
    box-shadow: none;
    font-size: 14px;
    font-weight: 500;
}

.btn-microsoft:hover {
    background-color: #f8f9fa;
    border-color: #d2d2d2 !important;
}

.auth-link-wrapper {
    margin-top: 10px;
}

.auth-link-wrapper a {
    color: #777;
    font-size: 14px;
}

.btn-google, .btn-microsoft {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.google-icon-wrapper, .oauth-icon {
    background: transparent !important;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.btn-google span, .btn-microsoft span {
    display: inline-block;
}


.or-divider {
    color: #777;
    margin: 15px 0;
    position: relative;
    text-align: center;
    width: 100%;
}

.or-divider::before, .or-divider::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 35%;
    height: 1px;
    background-color: #ddd;
}

.or-divider::before { left: 0; }
.or-divider::after { right: 0; }

/* Readonly fields styling */
.form-control[readonly] {
    background-color: #f9fafb !important;
    border-color: #e5e7eb !important;
    color: #6b7280 !important;
    cursor: not-allowed;
}

