@tailwind base;
@tailwind components;
@tailwind utilities;
/* public/css */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

.highlighted-cell {
    background-color: #d1e7dd; /* Bootstrap "success"-grön */
    font-weight: bold;
}

h1 {
    font-size: 24px;
    color: #000;
    margin-bottom: 20px;
}

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

label {
    font-size: 14px;
    color: #000;
    display: block;
    margin-bottom: 5px;
}

/* input[type="radio"],
input[type="checkbox"] {
    margin-right: 8px;
} */

input[type="date"],
input[type="time"],
textarea,
select {
    width: 100%;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 14px;
}

textarea {
    resize: vertical;
    min-height: 60px;
}

.checkbox-group {
    display: flex;
    gap: 10px;
}

select {
    padding: 8px;
    background-color: #FFF;
    border-radius: 4px;
    border: 1px solid #ccc;
}

button {
    width: 100%;
    padding: 10px;
    background-color: #1b813d;
    color: #FFF;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #125227;
}

.custom-header {
    background-color: #70A1B1; /* Example color */
    margin-bottom: 20px;
}

footer {
    background-color: #70A1B1;
    /* margin-top: 20px; Adds space above the footer */
    text-align: center;
     padding: 10px; 
    margin-top: auto; /*Ensure footer sticks to the bottom */
}

/* Increase the icon size */
.nav-link i {
    font-size: 1.5rem; /* Adjust as needed */
    margin-right: 10px; /* Space between the icon and text */
}

.nav-link {
    color: #ffffff; /* White color for nav links (can be customized) */
}

.nav-link:hover i {
    color: #f3f3f0; /* Color change on hover for icons */
}
/* For a simple dropdown look */
#customDropdown {
    background-color: #f9f9f9;
}

#dropdownOptions label {
    cursor: pointer;
}

/* Style for custom radio buttons */
.radio-container {
    display: flex;
    align-items: center;
    font-size: 14px;
}

/* Increase the size of the radio button */
.radio-container input[type="radio"] {
    width: 20px;
    height: 20px;
    appearance: none;
    border: 3px solid #ccc;
    border-radius: 50%;
    margin-right: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Custom circle color on radio button */
.radio-container input[type="radio"]:checked {
    background-color: #4733ff; /* Red color */
    border-color: #4733ff;
}

/* Custom border and hover effect */
.radio-container input[type="radio"]:hover {
    border-color: #4733ff;
}

/* When the radio button is focused */
.radio-container input[type="radio"]:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0);
}

/* Add style to the label text */
.radio-container label {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
}

/* Style for when the radio is checked and the label text */
.radio-container input[type="radio"]:checked {
    color: #4733ff; /* Change text color when checked */
}
/* Style for custom checkboxes */
.checkbox-container {
    display: flex;
    align-items: center;
    font-size: 16px;
}

/* Increase the size of the checkbox */
.checkbox-container input[type="checkbox"] {
    width: 20px;
    height: 20px;
    appearance: none;
    border: 3px solid #ccc;
    border-radius: 4px;  /* Rounded corners for checkbox */
    margin-right: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Custom color when checkbox is checked */
.checkbox-container input[type="checkbox"]:checked {
    background-color: #4733ff; /* Red color */
    border-color: #4733ff;
}

/* Custom border and hover effect */
.checkbox-container input[type="checkbox"]:hover {
    border-color: #4733ff;
}

/* Focused state for accessibility */
.checkbox-container input[type="checkbox"]:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0);
}

/* Add style to the label text */
.checkbox-container label {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
}

/* Style for when the checkbox is checked and the label text */
.checkbox-container input[type="checkbox"]:checked {
    color: #4733ff; /* Change text color when checked + lable */
}

button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}