/* General custom-card styling */
.custom-card {
    border-radius: 10px;
    background-color: #fff;
    padding: 20px;
    border: 1px solid #ccc; 
    margin-bottom: 20px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1), 0 5px 5px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect for 3D look */
/*.custom-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.15), 0 10px 10px rgba(0, 0, 0, 0.05);
}*/

/* Ensure consistent padding for input fields, dropdowns, selectors */
input[type="text"], input[type="number"], input[type="email"], input[type="datetime-local"], select, textarea {
    width: 100%;
    padding: 5px;     border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
   /* margin-bottom: 8px;*/ /* Reduced margin for compactness */
    background-color: #f9f9f9;
}

/* Padding for the labels */
label {
    font-weight: bold;
    margin-bottom: 4px; /* Reduced margin */
    display: inline-block;
}

/* Consistent padding for the form groups */
.form-group {
    padding: 5px 0; /* Reduced padding for more compact spacing */
    display: flex;
    flex-direction: column;
}

/* Form-row layout adjustment */
.form-row {
    display: flex;
    gap: 10px; /* Reduced gap between columns */
    flex-wrap: wrap;
}

/* Adjust columns within form-row */
.form-row .col {
    flex: 1;
  /*  min-width: 200px;*/
}
input:disabled {
    background-color: #f7f7f7; /* Lighter background color */
    border: 1px solid #ddd; /* Lighter border color */
    color: #888; /* Text color for disabled state */
}/* Text area specific styling */
textarea {
    resize: vertical;
}

/* Styling for error labels */
.text-danger {
    font-size: 12px;
    color: red;
    margin-top: 3px; /* Reduced margin for error messages */
}

/* Align the submit button */
button[type="submit"] {
    padding: 12px;
    font-size: 16px;
    background-color: #17a2b8;
    border: none;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
    background-color: #17a2b8;
}

/* Styling for checkboxes */
.checkbox label {
    font-size: 14px;
}

/* Modal text link styling */
.skin-color {
    color: #17a2b8;
    text-decoration: none;
}

.skin-color:hover {
    text-decoration: underline;
}

/* Modal styling */
.modal-content {
    padding: 20px;
    border-radius: 10px;
}

hr.form-separator {
    width: 100%; /* Adjust the width as you like */
    border: 0.5px solid #ccc; /* Light gray border */
    margin: 20px auto; /* Center the line and add vertical spacing */
}

/* Responsive handling for smaller screens */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
    }
    
    .form-row .col {
        min-width: 100%;
    }
}
