/* --- Generic Card --- */
.card {
    background-color: #1f2937;
    /* bg-gray-800 */
    padding: 2rem;
    border-radius: 1rem;
    /* rounded-2xl */
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.1);
    border: 1px solid #374151;
    /* border-gray-700 */
}

/* --- Form Styles --- */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    color: #d1d5db;
    /* text-gray-300 */
    font-size: 0.875rem;
    /* text-sm */
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    box-sizing: border-box;
    padding: 0.75rem;
    color: #e5e7eb;
    /* text-gray-200 */
    background-color: #374151;
    /* bg-gray-700 */
    border: 1px solid #4b5563;
    /* border-gray-600 */
    border-radius: 0.375rem;
    /* rounded-md */
    transition: box-shadow 0.2s, border-color 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: #6366f1;
    /* focus:ring-indigo-500 */
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.5);
}

/* --- Button Styles --- */
.btn {
    width: 100%;
    font-weight: 700;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s, opacity 0.2s, transform 0.1s;
}

.btn:hover:not(:disabled) {
    transform: translateY(-1px);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-primary {
    background-color: #4f46e5;
    /* bg-indigo-600 */
    color: white;
}

.btn-primary:hover:not(:disabled) {
    background-color: #4338ca;
    /* hover:bg-indigo-700 */
}

.btn-link {
    background: none;
    color: #818cf8;
    /* text-indigo-400 */
    font-size: 0.875rem;
    font-weight: 500;
}

.btn-link:hover {
    color: #a5b4fc;
    /* hover:text-indigo-300 */
}


/* --- Message/Alert Styles --- */
.message-box {
    padding: 0.75rem;
    margin-bottom: 1rem;
    border-radius: 0.375rem;
    text-align: center;
    font-size: 0.875rem;
}

.message-error {
    background-color: rgba(127, 29, 29, 0.5);
    /* bg-red-900/50 */
    color: #f87171;
    /* text-red-300 */
}

.message-success {
    background-color: rgba(21, 128, 61, 0.5);
    /* bg-green-900/50 */
    color: #86efac;
    /* text-green-300 */
}