﻿/*body {
        font-family: 'Segoe UI', sans-serif;
        background-color: #f5f6f8;
        padding: 20px;
    }*/

.form-container {
    max-width: 1100px;
    margin: auto auto 40px auto;
    
}

.highlight {
    color: #a70e2d;
    font-weight: bold;
}

.subtitle {
    /*margin-bottom: 20px;*/
    color: #555;
}

.card {
    background: gainsboro;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

    .card h3 {
        margin-bottom: 15px;
        color: #444;
        border-bottom: 1px solid #eee;
        padding-bottom: 8px;
    }

.form-grid {
    padding: 5px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0px 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: span 3;
}

.form-group.two-width {
    grid-column: span 2;
}

label {
    font-weight: 600;
    margin-bottom: 5px;
    font-size: small;
}

.form-control {
    padding: 6px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

.select-control {
    padding: 6px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    height: 35px;
}

.text-danger {
    color: #dc3545;
    font-size: 0.875rem;
    font-weight: 500;
    margin-top: 4px;
    display: block;
}

.textarea-sm {
    min-height: 60px;
    resize: vertical;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
}

.note {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
}

.submit-btn {
    background: #8c0019;
    color: white;
    padding: 8px 20px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
}

    .submit-btn:hover {
        background: #155e45;
    }

.textarea-lg
{
    width: 600px;
}

#loading {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.8);
    z-index: 1000;
}

#loadingcontent {
    display: table;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

#loadingspinner {
    display: table-cell;
    vertical-align: middle;
    width: 100%;
    text-align: center;
    font-size: larger;
    padding-top: 80px;
}

.ui-dialog {
    position: absolute;
    margin-top: 180px;
    vertical-align: top;
    font-size: 13px;
    z-index: 1003;
}

.ui-dialog-title {
    font-size: 16px;
    color: #FFFFFF !important;
    background: #000000 !important;
    padding: 4px;
}

.dialog {
    font-size: 13px;
}

.ui-widget-overlay {
    z-index: 102;
}