/* Google Sign-In Button Styling */

/* Container for the Google Sign-In button */
.custom-google-button {
    width: 100%;
    margin: 1rem 0;
    display: flex;
    justify-content: center;
    min-height: 42px;
}

/* Ensure the button is visible and properly sized */
.custom-google-button > div {
    width: 100% !important;
    max-width: 300px !important;
    min-height: 42px !important;
    border-radius: 4px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.2s ease !important;
}

/* Hover effect for the Google Sign-In button */
.custom-google-button > div:hover {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2) !important;
    transform: translateY(-1px);
}

/* Dark theme adjustments */
[data-theme="dark"] .custom-google-button {
    filter: invert(0.8) hue-rotate(180deg);
}

/* Alternative sign-in section */
.alternative-signin {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    padding-top: 10px;
    text-align: center;
}

/* Fallback Google Button */
.fallback-google-btn {
    display: inline-block;
    text-decoration: none;
    width: 100%;
    max-width: 300px;
}

/* Custom Google Button */
.google-btn {
    width: 100%;
    height: 42px;
    background-color: #4285f4;
    border-radius: 2px;
    box-shadow: 0 3px 4px 0 rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
}

.google-btn:hover {
    box-shadow: 0 0 6px #4285f4;
    cursor: pointer;
}

.google-btn:active {
    background: #1669F2;
}

.google-icon-wrapper {
    width: 40px;
    height: 40px;
    border-radius: 2px;
    background-color: white;
    margin: 1px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.google-icon {
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    font-size: 18px;
    color: #4285f4;
}

.btn-text {
    color: white;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    margin-left: 10px;
}

/* Dark theme adjustments for fallback button */
[data-theme="dark"] .google-btn {
    background-color: #1a73e8;
}

[data-theme="dark"] .google-icon-wrapper {
    background-color: #f1f1f1;
}

[data-theme="dark"] .google-icon {
    color: #1a73e8;
}

[data-theme="dark"] .btn-text {
    color: #ffffff;
}
