:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --error-color: #e74c3c;
    --light-color: #ecf0f1;
    --border-radius: 8px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    margin-top: 20px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    transition: all 0.3s ease;
}

h1 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 30px;
    font-size: 28px;
}

h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 22px;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 10px;
}

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

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-color);
}

input,
select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 16px;
    transition: border 0.3s;
}

input:focus,
select:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

input:disabled,
select:disabled {
    background-color: #f5f5f5;
    cursor: not-allowed;
    opacity: 0.7;
}

button {
    color: white;
    border: none;
    padding: 14px 20px;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #2980b9;
}

button:disabled {
    background-color: #95a5a6;
    cursor: not-allowed;
}

.btn-secondary {
    background-color: var(--warning-color);
}

.btn-secondary:hover {
    background-color: #e67e22;
}

.message {
    margin-top: 20px;
    padding: 15px;
    border-radius: var(--border-radius);
    text-align: center;
    display: none;
}

.success {
    background-color: rgba(39, 174, 96, 0.1);
    color: var(--success-color);
    border: 1px solid var(--success-color);
}

.warning {
    background-color: rgba(243, 156, 18, 0.1);
    color: var(--warning-color);
    border: 1px solid var(--warning-color);
}

.error {
    background-color: rgba(231, 76, 60, 0.1);
    color: var(--error-color);
    border: 1px solid var(--error-color);
}

.required::after {
    content: " *";
    color: var(--error-color);
}

.error-border {
    border-color: var(--error-color) !important;
    box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.2) !important;
}

.error-text {
    color: var(--error-color);
    font-size: 14px;
    margin-top: 5px;
}

.info-section {
    background-color: rgba(52, 152, 219, 0.1);
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    border: 1px solid var(--secondary-color);
}

.info-section h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.info-item {
    margin-bottom: 10px;
}

.info-label {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.info-value {
    color: #555;
}

.actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.actions button {
    width: auto;
    flex: 1;
}

.loading {
    opacity: 0.7;
    pointer-events: none;
}

@media (max-width: 600px) {
    .container {
        padding: 20px;
    }

    h1 {
        font-size: 24px;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .actions {
        flex-direction: column;
    }
}