/* ===== Social Login Divider ===== */
.cc-social-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 24px 0 20px;
    gap: 12px;
}

.cc-social-divider::before,
.cc-social-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #ddd;
}

.cc-social-divider span {
    font-size: 13px;
    color: #888;
    white-space: nowrap;
    padding: 0 4px;
}

/* ===== Social Login Buttons ===== */
.cc-social-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.cc-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none !important;
    cursor: pointer;
    transition: opacity 0.2s, box-shadow 0.2s;
    line-height: 1;
    border: none;
}

.cc-social-btn:hover {
    opacity: 0.9;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.cc-social-btn svg {
    flex-shrink: 0;
}

/* Google */
.cc-social-google {
    background: #fff;
    color: #3c4043;
    border: 1px solid #dadce0;
}

.cc-social-google:hover {
    background: #f8f9fa;
    color: #3c4043;
}

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

.cc-social-kakao:hover {
    color: #191919;
}

/* Naver */
.cc-social-naver {
    background: #03C75A;
    color: #fff;
}

.cc-social-naver:hover {
    color: #fff;
}

/* ===== Social Accounts Page ===== */
.cc-social-accounts-page h3 {
    margin-top: 24px;
    margin-bottom: 12px;
    font-size: 18px;
}

.cc-social-profile-image {
    margin-bottom: 20px;
}

.cc-social-profile-image img {
    display: block;
    border: 3px solid #eee;
}

.cc-social-accounts-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 16px 0;
}

.cc-social-account-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    background: #fafafa;
    transition: border-color 0.2s;
}

.cc-social-account-item.connected {
    border-color: #03C75A;
    background: #f0faf4;
}

.cc-social-account-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e0e0e0;
}

.cc-social-account-icon svg {
    width: 24px;
    height: 24px;
}

.cc-social-account-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cc-social-account-info strong {
    font-size: 15px;
}

.cc-social-status {
    font-size: 12px;
    color: #999;
}

.cc-social-status.connected {
    color: #03C75A;
    font-weight: 500;
}

.cc-social-account-action {
    flex-shrink: 0;
}

.cc-btn-connect {
    background: #0d1b3e !important;
    color: #fff !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 8px 18px !important;
    font-size: 13px !important;
    cursor: pointer;
    transition: background 0.2s;
}

.cc-btn-connect:hover {
    background: #1a2d5e !important;
}

.cc-btn-disconnect {
    background: #fff !important;
    color: #e74c3c !important;
    border: 1px solid #e74c3c !important;
    border-radius: 6px !important;
    padding: 8px 18px !important;
    font-size: 13px !important;
    cursor: pointer;
    transition: background 0.2s;
}

.cc-btn-disconnect:hover {
    background: #fdf0ef !important;
}

.cc-social-unavailable {
    font-size: 12px;
    color: #bbb;
}

/* ===== Profile Info Table ===== */
.cc-profile-info-table {
    width: 100%;
    max-width: 500px;
    border-collapse: collapse;
    margin: 16px 0;
}

.cc-profile-info-table th,
.cc-profile-info-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

.cc-profile-info-table th {
    width: 120px;
    color: #666;
    font-weight: 500;
    background: #fafafa;
}

.cc-profile-info-table td {
    color: #333;
}

/* ===== Extra Fields Fieldset ===== */
.woocommerce-MyAccount-content fieldset {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px 24px;
    margin: 24px 0;
}

.woocommerce-MyAccount-content fieldset legend {
    font-size: 16px;
    font-weight: 600;
    color: #0d1b3e;
    padding: 0 8px;
}

.cc-social-connected-summary {
    margin-top: 12px;
    padding: 12px 16px;
    background: #f0faf4;
    border-radius: 6px;
    font-size: 13px;
}

.cc-social-connected-summary a {
    margin-left: 8px;
    color: #0d1b3e;
    text-decoration: underline;
}

/* ===== Responsive ===== */
@media (max-width: 600px) {
    .cc-social-account-item {
        flex-wrap: wrap;
        padding: 12px 16px;
    }

    .cc-social-account-action {
        width: 100%;
        margin-top: 8px;
    }

    .cc-social-account-action .button,
    .cc-social-account-action a {
        display: block;
        text-align: center;
        width: 100%;
    }

    .cc-profile-info-table th {
        width: 90px;
    }
}
