/* Database and Form specific styles */
.database-form {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-top: 3px solid #D4A574;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #6B3744;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: #2B5EA6;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

/* Button styles */
.btn {
    background-color: #6B3744;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #7B4453;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(107, 55, 68, 0.3);
}

.btn-secondary {
    background-color: #2B5EA6;
}

.btn-secondary:hover {
    background-color: #3C6FB6;
}

.btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* Table styles */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.data-table th, .data-table td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

.data-table th {
    background-color: #6B3744;
    color: white;
}

.data-table tr:nth-child(even) {
    background-color: #f2f2f2;
}

.data-table tr:hover {
    background-color: #fef5f1;
}

/* Info box styles */
.info-box {
    background-color: #fef5f1;
    border: 1px solid #D4A574;
    border-left: 4px solid #D4A574;
    padding: 15px;
    margin: 15px 0;
    border-radius: 4px;
}

.info-box h4 {
    color: #6B3744;
    margin-top: 0;
}

.warning {
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 10px;
    margin: 10px 0;
    border-radius: 4px;
}
