/* PopcornRP OAuth Plugin Styles */

/* Login Page Button */
.pcrp-oauth-login-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    width: 100% !important;
    padding: 12px 20px !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
    border: none !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    font-weight: bold !important;
    font-size: 14px !important;
    transition: all 0.3s ease !important;
    box-sizing: border-box !important;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3) !important;
}

.pcrp-oauth-login-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4) !important;
    text-decoration: none !important;
    color: white !important;
}

.pcrp-oauth-login-btn:active {
    transform: translateY(0) !important;
}

.pcrp-oauth-login-btn svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

/* Profile Page Box */
.pcrp-oauth-section {
    padding: 20px;
    border-radius: 4px;
    margin-top: 10px;
}

.pcrp-oauth-section-connected {
    background: #d4edda;
    border: 1px solid #c3e6cb;
}

.pcrp-oauth-section-disconnected {
    background: #e7f3ff;
    border: 1px solid #b3d9ff;
}

.pcrp-oauth-section h3 {
    margin-top: 0;
    font-size: 16px;
}

.pcrp-oauth-section-connected h3 {
    color: #155724;
}

.pcrp-oauth-section-disconnected h3 {
    color: #0066cc;
}

.pcrp-oauth-info {
    margin: 15px 0;
    font-size: 13px;
}

.pcrp-oauth-info p {
    margin: 8px 0;
}

.pcrp-oauth-avatar {
    margin-top: 10px;
}

.pcrp-oauth-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.5);
    display: block;
}

.pcrp-oauth-buttons {
    margin-top: 15px;
    display: flex;
    gap: 10px;
}

.pcrp-oauth-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    font-size: 13px;
    transition: all 0.3s ease;
}

.pcrp-oauth-btn-link {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.pcrp-oauth-btn-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.pcrp-oauth-btn-unlink {
    background: #dc3545;
    color: white;
}

.pcrp-oauth-btn-unlink:hover {
    background: #c82333;
}

/* Icon in Button */
.pcrp-oauth-btn svg {
    width: 16px;
    height: 16px;
    margin-right: 5px;
    vertical-align: middle;
}

/* Status Badges */
.pcrp-oauth-status {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 10px;
}

.pcrp-oauth-status-connected {
    background: #28a745;
    color: white;
}

.pcrp-oauth-status-disconnected {
    background: #ffc107;
    color: #333;
}

/* Responsive */
@media (max-width: 768px) {
    .pcrp-oauth-login-btn {
        font-size: 13px !important;
        padding: 10px 16px !important;
    }
    
    .pcrp-oauth-buttons {
        flex-direction: column;
    }
    
    .pcrp-oauth-btn {
        width: 100%;
    }
}
