/**
 * AutoQM Social Login Button Styles
 * Use these styles for social login buttons on your WordPress site
 */

/* Base button styles */
.autoqm-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 320px;
    padding: 14px 20px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.autoqm-social-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.autoqm-social-btn:active {
    transform: translateY(0);
}

/* Google button */
.autoqm-social-btn.google {
    background: #ffffff;
    color: #1f2937;
    border: 1px solid #e5e7eb;
}

.autoqm-social-btn.google:hover {
    background: #f9fafb;
    border-color: #d1d5db;
}

.autoqm-social-btn.google svg,
.autoqm-social-btn.google .icon {
    width: 20px;
    height: 20px;
}

/* Naver button */
.autoqm-social-btn.naver {
    background: #03C75A;
    color: #ffffff;
}

.autoqm-social-btn.naver:hover {
    background: #02b351;
}

/* Kakao button */
.autoqm-social-btn.kakao {
    background: #FEE500;
    color: #191919;
}

.autoqm-social-btn.kakao:hover {
    background: #f5dc00;
}

/* Social login container */
.autoqm-social-login-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px 0;
}

/* Divider with text */
.autoqm-social-divider {
    display: flex;
    align-items: center;
    margin: 16px 0;
    color: #9ca3af;
    font-size: 13px;
}

.autoqm-social-divider::before,
.autoqm-social-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}

.autoqm-social-divider span {
    padding: 0 16px;
}

/* Icons - use inline SVGs or image URLs */
.autoqm-social-btn .icon-google {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='%23EA4335' d='M24 9.5c3.54 0 6.71 1.22 9.21 3.6l6.85-6.85C35.9 2.38 30.47 0 24 0 14.62 0 6.51 5.38 2.56 13.22l7.98 6.19C12.43 13.72 17.74 9.5 24 9.5z'/%3E%3Cpath fill='%234285F4' d='M46.98 24.55c0-1.57-.15-3.09-.38-4.55H24v9.02h12.94c-.58 2.96-2.26 5.48-4.78 7.18l7.73 6c4.51-4.18 7.09-10.36 7.09-17.65z'/%3E%3Cpath fill='%23FBBC05' d='M10.53 28.59c-.48-1.45-.76-2.99-.76-4.59s.27-3.14.76-4.59l-7.98-6.19C.92 16.46 0 20.12 0 24c0 3.88.92 7.54 2.56 10.78l7.97-6.19z'/%3E%3Cpath fill='%2334A853' d='M24 48c6.48 0 11.93-2.13 15.89-5.81l-7.73-6c-2.15 1.45-4.92 2.3-8.16 2.3-6.26 0-11.57-4.22-13.47-9.91l-7.98 6.19C6.51 42.62 14.62 48 24 48z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    width: 20px;
    height: 20px;
}

.autoqm-social-btn .icon-naver {
    font-weight: bold;
    font-size: 18px;
}

.autoqm-social-btn .icon-kakao {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23191919' d='M12 3c-5.52 0-10 3.59-10 8 0 2.84 1.87 5.34 4.68 6.77l-.95 3.47c-.08.28.23.52.48.37l4.14-2.76c.54.06 1.09.15 1.65.15 5.52 0 10-3.59 10-8s-4.48-8-10-8z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    width: 20px;
    height: 20px;
}

/* WordPress Login Form Integration */
.login form .autoqm-social-login-container {
    margin-top: 20px;
}

/* Responsive */
@media (max-width: 480px) {
    .autoqm-social-btn {
        padding: 12px 16px;
        font-size: 14px;
    }
}
