/* form modal*/

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2e8b57;
    transition: color 0.3s ease;
}

.form-control {
    border: 2px solid #98fb98;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #00ff00;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

/* Input groups con iconos */
.input-group-text {
    border: 2px solid #98fb98;
    background-color: #f0fff0;
    transition: all 0.3s ease;
    border-radius: 15px 0 0 15px;
}

.input-group > .form-control {
    border-radius: 0 15px 15px 0;
}

/* Iconos */
.input-icon {
    margin-right: 10px;
    color: #2e8b57;
}

/* File input para firma */
.file-input-container {
    position: relative;
    width: 100%;
}

.file-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 10;
}

.file-input-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #98fb98;
    border-radius: 15px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.file-input-wrapper:hover {
    background-color: #f0fff0;
    border-color: #00ff00;
}

.file-input-icon {
    width: 2em;
    height: 2em;
    stroke: #2e8b57;
    margin-right: 10px;
    transition: stroke 0.3s ease;
}

.file-input-text {
    color: #2e8b57;
    font-weight: 600;
    transition: color 0.3s ease;
}

.file-input-wrapper:hover .file-input-icon,
.file-input-wrapper:hover .file-input-text {
    stroke: #00ff00;
    color: #00ff00;
}

/* Modales */
.modal-content {
    border-radius: 20px;
    border: 3px solid #98fb98;
}

/* Botones de acción */
.btn-green-save, 
.btn-gradient-success, 
.btn-gradient-warning {
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn-gradient-warning {
    background-color: #ffc107;
}

.btn-green-save:hover, 
.btn-gradient-success:hover, 
.btn-gradient-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}