/* Easy Affiliate Referral URL Shortcode Styles */
.esaf_referral_url_container {
    max-width: 100%;
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.esaf-referral-url-label {
    display: block;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #4a5568;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.esaf-referral-url-group {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.esaf-referral-url-field {
    flex: 1;
    min-width: 0;
    padding: 0.75rem 1rem;
    background-color: #f7fafc;
    border: 1px solid #cbd5e0;
    border-radius: 8px;
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
    font-size: 0.9375rem;
    color: #2d3748;
    transition: all 0.2s ease;
}

.esaf-referral-url-field:focus {
    outline: none;
    border-color: #4299e1;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.15);
}

.esaf-referral-url-copy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.25rem;
    background-color: #3182ce;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    min-width: 100px;
}

.esaf-referral-url-copy-btn:hover {
    background-color: #2b6cb0;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.esaf-referral-url-copy-btn:active {
    transform: translateY(0);
}

.esaf-referral-url-copy-btn.copied {
    background-color: #48bb78;
}

/* Success State */
.esaf-copy-success {
    font-weight: 600;
}

/* Message Styles (Not logged in, etc) */
.esaf-referral-url-msg {
    padding: 1rem;
    background-color: #fffaf0;
    border-left: 4px solid #ed8936;
    color: #9c4221;
    border-radius: 4px;
    font-size: 0.9375rem;
    margin: 1rem 0;
}

/* Responsive */
@media (max-width: 480px) {
    .esaf-referral-url-group {
        flex-direction: column;
        align-items: stretch;
    }
    .esaf-referral-url-copy-btn {
        width: 100%;
    }
}
