/* Social Login Button Styles */

.external-providers {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 10px;
}

.external-provider {
    width: 100%;
    list-style: none;
}

.external-provider a {
    width: 100%;
}

/* Base social button style */
.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    box-sizing: border-box;
}

.btn-social .social-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.btn-social span {
    white-space: nowrap;
}

/* Google Button - white background with colored G logo */
.btn-social.btn-google {
    background-color: #FFFFFF;
    color: #3C4043;
    border-color: #dadce0;
}

.btn-social.btn-google:hover {
    background-color: #f8f8f8;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    border-color: #dadce0;
}

.btn-social.btn-google:active {
    background-color: #f1f1f1;
}

/* Facebook Button - Facebook blue background */
.btn-social.btn-facebook {
    background-color: #1877F2;
    color: #FFFFFF;
    border-color: #1877F2;
}

.btn-social.btn-facebook:hover {
    background-color: #166fe5;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.btn-social.btn-facebook:active {
    background-color: #1564cc;
}

/* Twitter/X Button - black background */
.btn-social.btn-twitter {
    background-color: #000000;
    color: #FFFFFF;
    border-color: #000000;
}

.btn-social.btn-twitter:hover {
    background-color: #1a1a1a;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.btn-social.btn-twitter:active {
    background-color: #333333;
}

/* Apple Button - black background, white logo and text (Apple sign-in button guidelines) */
.btn-social.btn-apple {
    background-color: #000000;
    color: #FFFFFF;
    border-color: #000000;
}

.btn-social.btn-apple:hover {
    background-color: #1a1a1a;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.btn-social.btn-apple:active {
    background-color: #333333;
}

/* Default fallback for unknown providers */
.btn-social.btn-social-default {
    background-color: #6c757d;
    color: #FFFFFF;
    border-color: #6c757d;
}

.btn-social.btn-social-default:hover {
    background-color: #5a6268;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.btn-social.btn-social-default:active {
    background-color: #545b62;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .btn-social {
        padding: 8px 12px;
        font-size: 13px;
    }

    .btn-social .social-icon {
        width: 18px;
        height: 18px;
    }
}