/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Header styles */
.header {
    background-color: #fff;
    border-bottom: 1px solid #e5e7eb;
    padding: 1rem 1.5rem;
}

.header-content {
    display: flex;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
}

.logo-circle {
    width: 3rem;
    height: 3rem;
    background-color: #d97706;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.crown-icon {
    width: 2rem;
    height: 2rem;
    color: white;
}

.header-text h1 {
    color: #15803d;
    font-weight: bold;
    font-size: 1.125rem;
    line-height: 1.2;
}

.header-text h2 {
    color: #15803d;
    font-size: 0.875rem;
}

/* Main container */
.main-container {
    display: flex;
    min-height: calc(100vh - 80px);
}

/* Sidebar styles */
.sidebar {
    width: 16rem;
    background-color: #f3f4f6;
    border-right: 1px solid #e5e7eb;
    padding: 1rem 0;
}

.menu-items {
    list-style: none;
}

.menu-link {
    display: block;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    text-decoration: none;
    color: #2563eb;
    transition: all 0.2s;
}

.menu-link:hover {
    background-color: #e5e7eb;
    color: #1d4ed8;
}

.menu-link.active {
    background-color: #d1d5db;
    color: #111827;
    font-weight: 500;
}

/* Content area */
.content {
    flex: 1;
    padding: 2rem;
}

.content-wrapper {
    max-width: 64rem;
}

.form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.submit-btn {
    background-color: #4b5563;
    color: white;
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

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

/* Success message */
.success-message {
    background-color: #dcfce7;
    border: 1px solid #bbf7d0;
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 0.25rem;
}

.success-message p {
    color: #166534;
    font-size: 0.875rem;
}

/* Info box */
.info-box {
    background-color: #eff6ff;
    border: 1px solid #bfdbfe;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.info-box p {
    color: #1e40af;
    font-size: 0.875rem;
}

/* Form styles */
.visa-form {
    margin-top: 1.5rem;
}

.required-note {
    font-size: 0.875rem;
    color: #dc2626;
    margin-bottom: 1rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
}

.required {
    color: #dc2626;
}

.form-input {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.125rem;
    font-size: 0.875rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

.form-input.error {
    border-color: #ef4444;
}

.error-message {
    color: #dc2626;
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

/* Responsive design */
@media (max-width: 768px) {
    .main-container {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        padding: 0.5rem 0;
    }
    
    .menu-items {
        display: flex;
        overflow-x: auto;
        padding: 0 1rem;
    }
    
    .menu-link {
        white-space: nowrap;
        padding: 0.5rem 1rem;
    }
    
    .content {
        padding: 1rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-header {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
}