/* Form Structure */
.basicon-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.form-header .logo {
    height: 80px;
    margin-bottom: 15px;
}

.form-header h2 {
    color: #0c2b5b;
    margin: 0;
    font-size: 28px;
}

.form-section {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
    border: 1px solid #eee;
    position: relative;
    overflow: hidden;
}

.form-section h3 {
    font-size: 20px;
    color: #0c2b5b;
    margin-top: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 20px;
}

.form-section h3 span {
    display: inline-block;
    width: 28px;
    height: 28px;
    background: #0c2b5b;
    color: #fff;
    text-align: center;
    line-height: 28px;
    border-radius: 50%;
    margin-right: 10px;
    font-size: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #0c2b5b;
    outline: none;
    box-shadow: 0 0 0 2px rgba(12, 43, 91, 0.1);
}

.form-group .button {
    background: #0c2b5b;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    margin-top: 5px;
    transition: background 0.3s;
}

.form-group .button:hover {
    background: #1a56a5;
}

.otp-status {
    margin-top: 5px;
    font-size: 14px;
    min-height: 20px;
}

.price-display {
    background: #eef5ff;
    padding: 15px;
    border-radius: 5px;
    margin: 15px 0;
    border-left: 4px solid #0c2b5b;
}

.price-display p {
    margin: 5px 0;
    font-size: 16px;
    color: #333;
}

.accompanying-persons {
    margin-top: 20px;
    padding: 15px;
    background: #f0f8ff;
    border-radius: 6px;
    border: 1px solid #c2e0ff;
}

.accompanying-person {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #c2e0ff;
}

.accompanying-person:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.accompanying-person h4 {
    margin-top: 0;
    color: #1a56a5;
    font-size: 18px;
}

.payment-section {
    margin-top: 20px;
    padding: 20px;
    background: #f0f8ff;
    border-radius: 8px;
    border: 1px solid #c2e0ff;
}

.payment-section h4 {
    margin-top: 0;
    color: #1a56a5;
    font-size: 18px;
}

.qr-code {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

#dynamic-qr-container {
    min-height: 220px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: white;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.payment-details {
    flex: 1;
    min-width: 200px;
}

.payment-details p {
    margin: 8px 0;
    font-size: 16px;
}

.payment-details strong {
    display: inline-block;
    width: 120px;
}

.form-footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.disclaimer {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.submit-btn {
    background: #0c2b5b;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 18px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
    width: auto;
    min-width: 250px;
}

.submit-btn:hover {
    background: #1a56a5;
}

.required {
    color: #e53935;
}

/* Login form styles */
.basicon-login-form {
    max-width: 500px;
    margin: 0 auto;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.basicon-login-form h2 {
    text-align: center;
    color: #0c2b5b;
    margin-bottom: 25px;
}

.basicon-error {
    padding: 15px;
    background: #FFEBEE;
    border-left: 4px solid #F44336;
    margin-bottom: 25px;
    font-size: 16px;
}

/* Dashboard styles */
.basicon-dashboard {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.dashboard-section {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    border: 1px solid #eee;
}

.profile-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.info-row {
    display: flex;
    margin-bottom: 10px;
}

.info-row .label {
    font-weight: bold;
    min-width: 200px;
}

.document-links {
    display: flex;
    gap: 15px;
}

.workshop-table {
    width: 100%;
    border-collapse: collapse;
}

.workshop-table th, .workshop-table td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
}

.workshop-table th {
    background-color: #f2f2f2;
}

.status-pending {
    color: #ff9800;
    font-weight: bold;
}

.status-approved {
    color: #4caf50;
    font-weight: bold;
}

@media (max-width: 600px) {
    .basicon-form-wrapper {
        padding: 20px;
    }
    
    .qr-code {
        flex-direction: column;
    }
    
    .payment-details {
        width: 100%;
    }
    
    .profile-info {
        grid-template-columns: 1fr;
    }
}