.form-container {
    max-width: 1200px;
    margin: 50px auto;
    padding: 30px;
    background: #2a2e3a;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.error_border {
    border: 1px solid red;
}

.succ_border {
    color: green
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-section {
    margin-bottom: 30px;
}

.form-section h3 {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #3d424d;
}

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

.form-control {
    width: 100%;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.1);
    border: solid 1px rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    color: white;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.form-label {
    display: block;
    margin-bottom: 5px;
    color: #adb5bd;
    font-weight: 500;
}

.order-summary {
    background: #2a2e3a;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.summary-details {
    margin-bottom: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.summary-row:last-child {
    border-bottom: none;
}

.summary-label {
    color: #adb5bd;
    font-weight: 500;
}

.summary-value {
    color: #fff;
    text-align: right;
}

.summary-row.total {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
}

.summary-row.total .summary-label,
.summary-row.total .summary-value {
    font-size: 18px;
    font-weight: bold;
    color: #007bff;
}

.summary-actions {
    margin-top: 20px;
    text-align: center;
}

.btn-submit {
    width: 100%;
    padding: 12px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-submit:hover {
    background-color: #0069d9;
}

.btn-submit:disabled {
    background-color: #6c757d;
    cursor: not-allowed;
}

.mandatory-note {
    color: #adb5bd;
    font-size: 12px;
    margin-top: 20px;
}

select.form-control {
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="white" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
}

.error-input {
    border: 2px solid #dc3545 !important;
    box-shadow: 0 0 5px rgba(220, 53, 69, 0.5) !important;
}

.order-summary-container {
    max-width: 800px;
    margin: 50px auto;
    padding: 30px;
    background: #2a2e3a;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.order-header {
    text-align: center;
    margin-bottom: 30px;
}

.order-header h2 {
    color: #fff;
    margin-bottom: 10px;
}

.order-header p {
    color: #adb5bd;
}

.summary-section {
    margin-bottom: 30px;
    padding: 20px;
    background: #3d424d;
    border-radius: 8px;
}

.summary-section h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.2em;
}

#branchSummary .branch-item {
    margin-bottom: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
}

#branchSummary .kasa-list {
    margin-left: 20px;
    margin-top: 10px;
}

#servicesSummary .service-item {
    margin-bottom: 10px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
}

/* Contact Form Styles */
.contact-form-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 30px;
}

.contact-form-section h3 {
    color: #fff;
    margin-bottom: 25px;
    font-size: 1.5em;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group label {
    display: block;
    color: #fff;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    color: #fff;
    font-size: 1em;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8364E2;
    background-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 1px #8364E2;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #dc3545;
    background-color: rgba(220, 53, 69, 0.1);
}

.form-group.error label {
    color: #dc3545;
}

.error-message {
    color: #dc3545;
    font-size: 0.85em;
    margin-top: 5px;
    display: none;
}

.form-group.error .error-message {
    display: block;
}

.form-note {
    color: #adb5bd;
    font-size: 0.9em;
    margin-top: 20px;
    margin-bottom: 20px;
}

.form-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.form-footer p {
    color: #adb5bd;
    font-size: 0.9em;
    margin-bottom: 10px;
}

.form-footer a {
    color: #8364E2;
    text-decoration: none;
}

.form-footer a:hover {
    text-decoration: underline;
}

.error-input {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 1px #dc3545 !important;
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .form-group {
        width: 100%;
    }
}

.order-page-container {
    display: flex;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.form-column {
    flex: 1;
    max-width: 60%;
}

.summary-column {
    flex: 1;
    max-width: 40%;
}

.order-summary-box {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 25px;
    position: sticky;
    top: 100px;
}

.contact-form-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 30px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #fff;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    color: #fff;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group.half {
    flex: 1;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox input {
    width: auto;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.summary-section {
    margin-bottom: 25px;
}

.summary-section h4 {
    margin-bottom: 15px;
    color: #fff;
}

.final-totals {
    margin-top: 30px;
    margin-bottom: 20px;
    padding-top: 20px;
}

.first-month {
    font-size: 1.1em;
    font-weight: bold;
}

.monthly-recurring {
    font-size: 1.1em;
    font-weight: bold;
    color: #007bff;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: #007bff;
    border: none;
    border-radius: 5px;
    color: #fff;
    font-size: 1.1em;
    cursor: pointer;
    margin-top: 20px;
    transition: background 0.3s;
}

.btn-submit:hover {
    background: #0069d9;
}

@media (max-width: 992px) {
    .order-page-container {
        flex-direction: column;
    }
    
    .form-column,
    .summary-column {
        max-width: 100%;
    }
    
    .order-summary-box {
        position: relative;
        top: 0;
        margin-bottom: 30px;
    }
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 20px;
    padding-right: 30px;
}

.form-group select option {
    background-color: #2a2e3a;
    color: #fff;
}

.info-text a {
    color: #007bff;
}

.terms-text a {
    color: #007bff;
}