/* Apex Annual Retention Fee - Public Styles */
.apex-challan-wrapper {
    max-width: 700px;
    margin: 30px auto;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.apex-challan-form {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.apex-title {
    text-align: center;
    color: #1a5276;
    font-size: 24px;
    margin-bottom: 5px;
    font-weight: 700;
}

.apex-subtitle {
    text-align: center;
    color: #7f8c8d;
    font-size: 14px;
    margin-bottom: 25px;
    border-bottom: 2px solid #1a5276;
    padding-bottom: 15px;
}

.apex-form-row {
    margin-bottom: 18px;
}

.apex-form-row label {
    display: block;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 6px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.apex-form-row input[type="text"],
.apex-form-row input[type="number"],
.apex-form-row select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d5dbdb;
    border-radius: 5px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #fafafa;
}

.apex-form-row input:focus,
.apex-form-row select:focus {
    border-color: #1a5276;
    outline: none;
    box-shadow: 0 0 0 3px rgba(26, 82, 118, 0.1);
    background: #fff;
}

.apex-form-row input[readonly] {
    background: #ecf0f1;
    color: #5d6d7e;
    cursor: not-allowed;
}

.apex-form-actions {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #ecf0f1;
}

.apex-btn-generate {
    background: linear-gradient(135deg, #1a5276 0%, #2980b9 100%);
    color: #fff;
    border: none;
    padding: 14px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.apex-btn-generate:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(26, 82, 118, 0.3);
}

.apex-btn-generate:active {
    transform: translateY(0);
}

#apex-challan-result {
    margin-top: 25px;
    padding: 20px;
    border-radius: 6px;
    text-align: center;
}

.apex-success-msg {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 20px;
    border-radius: 6px;
}

.apex-success-msg h3 {
    color: #155724;
    margin-bottom: 10px;
}

.apex-print-btn {
    display: inline-block;
    background: #28a745;
    color: #fff;
    padding: 10px 25px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 15px;
    font-weight: 600;
}

.apex-print-btn:hover {
    background: #218838;
    color: #fff;
}

.apex-error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
}

.apex-loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #1a5276;
    border-radius: 50%;
    animation: apex-spin 1s linear infinite;
    margin-right: 10px;
    vertical-align: middle;
}

@keyframes apex-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 600px) {
    .apex-challan-form {
        padding: 20px 15px;
    }
    .apex-title {
        font-size: 20px;
    }
}
