/* Toast Notification Styles */
.toast-notification {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 9999;
    min-width: 320px;
    max-width: 420px;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s ease-in-out;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    overflow: hidden;
}

.toast-notification.show {
    opacity: 1;
    transform: translateX(0);
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: white;
}

.toast-success .toast-content {
    border-left: 4px solid #10b981;
    background: #f0fdf4;
}

.toast-error .toast-content {
    border-left: 4px solid #ef4444;
    background: #fef2f2;
}

.toast-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}

.toast-success .toast-icon {
    color: #10b981;
}

.toast-error .toast-icon {
    color: #ef4444;
}

.toast-message {
    flex: 1;
    font-size: 14px;
    line-height: 1.5;
    color: #1f2937;
    font-weight: 500;
}

.toast-close {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    color: #6b7280;
    transition: color 0.2s;
}

.toast-close:hover {
    color: #1f2937;
}

@media (max-width: 640px) {
    .toast-notification {
        right: 10px;
        left: 10px;
        min-width: auto;
        max-width: none;
    }
}


/* Form Validation Error Styles */
.error-input {
    border-color: #ef4444 !important;
}

.error-message {
    display: none;
    color: #ef4444;
    font-size: 12px;
    margin-top: 4px;
    font-weight: 500;
}


/* Form Validation Error Styles */
.error-input {
    border-color: #ef4444 !important;
    border-width: 2px !important;
}

.error-message {
    display: block !important;
    color: #ef4444 !important;
    font-size: 13px !important;
    margin-top: 4px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
}

/* Input and Textarea base styles */
input[type="text"],
input[type="email"],
textarea {
    transition: border-color 0.2s ease;
}

input[type="text"].error-input,
input[type="email"].error-input,
textarea.error-input {
    border-color: #ef4444 !important;
    border-width: 2px !important;
    outline: none;
}

input[type="text"].error-input:focus,
input[type="email"].error-input:focus,
textarea.error-input:focus {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}
