/* Dark Mode Styles for Tables and Forms */

/* Table Styles */
.dark table {
    color: rgb(241 245 249);
}

.dark thead {
    background-color: rgb(51 65 85);
}

.dark tbody {
    background-color: rgb(30 41 59);
}

.dark tbody tr:hover {
    background-color: rgb(51 65 85);
}

/* Form Input Styles */
.dark input[type="text"],
.dark input[type="email"],
.dark input[type="password"],
.dark input[type="number"],
.dark input[type="tel"],
.dark input[type="date"],
.dark textarea,
.dark select {
    background-color: rgb(51 65 85 / 0.5);
    border-color: rgb(71 85 105);
    color: rgb(241 245 249);
}

.dark input[type="text"]:focus,
.dark input[type="email"]:focus,
.dark input[type="password"]:focus,
.dark input[type="number"]:focus,
.dark input[type="tel"]:focus,
.dark input[type="date"]:focus,
.dark textarea:focus,
.dark select:focus {
    background-color: rgb(51 65 85);
    border-color: rgb(16 185 129);
}

/* Checkbox and Radio Styles */
.dark input[type="checkbox"],
.dark input[type="radio"] {
    background-color: rgb(51 65 85);
    border-color: rgb(71 85 105);
}

/* Select Dropdown Arrow */
.dark select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23cbd5e1' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
}

