/**
 * AffiTrack Custom CSS
 * 
 * @package AffiTrack
 * @since 1.0.0
 */

/* Custom styles for AffiTrack frontend */
.affitrack-custom-styles {
    /* Add your custom styles here */
}

/* Fix for dashboard functions */
.affitrack-dashboard .copy-link-btn {
    cursor: pointer;
    color: #6366f1;
    text-decoration: none;
}

.affitrack-dashboard .share-link-btn {
    cursor: pointer;
    color: #10b981;
    text-decoration: none;
}

/* Notification styles */
.affitrack-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    z-index: 9999;
    max-width: 300px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: slideIn 0.3s ease-out;
}

.affitrack-notification.success {
    background: #10b981;
}

.affitrack-notification.error {
    background: #ef4444;
}

.affitrack-notification.info {
    background: #3b82f6;
}

.affitrack-notification.warning {
    background: #f59e0b;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Modal styles */
.affitrack-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.affitrack-modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.affitrack-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e5e7eb;
}

.affitrack-modal-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a202c;
}

.affitrack-modal-close {
    color: #6b7280;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.affitrack-modal-close:hover {
    background-color: #f3f4f6;
    color: #374151;
}

/* Form styles */
.affitrack-form-group {
    margin-bottom: 20px;
}

.affitrack-form-label {
    display: block;
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
    font-size: 14px;
}

.affitrack-form-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.2s ease;
    background: #ffffff;
    box-sizing: border-box;
}

.affitrack-form-input:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.affitrack-form-submit {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 10px;
}

.affitrack-form-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

/* Button styles */
.affitrack-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    font-size: 14px;
}

.affitrack-btn-primary {
    background: #6366f1;
    color: white;
}

.affitrack-btn-primary:hover {
    background: #5855eb;
    transform: translateY(-1px);
}

.affitrack-btn-success {
    background: #10b981;
    color: white;
}

.affitrack-btn-success:hover {
    background: #059669;
    transform: translateY(-1px);
}

.affitrack-btn-danger {
    background: #ef4444;
    color: white;
}

.affitrack-btn-danger:hover {
    background: #dc2626;
    transform: translateY(-1px);
}

/* Responsive design */
@media (max-width: 768px) {
    .affitrack-modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .affitrack-notification {
        right: 10px;
        left: 10px;
        max-width: none;
    }
} 