:root {
    --primary: #0038b8;
    --secondary: #ffffff;
    --accent: #0038b8;
    --light: #f8f9fa;
    --dark: #343a40;
    --success: #0038b8;
    --button-bg: #0038b8;
    --button-hover: #002a8f;
}
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        body {
            background: linear-gradient(135deg, var(--primary), var(--secondary), #fdbb2d);
            color: #333;
            min-height: 100vh;
            padding: 5px;
            line-height: 1.5;
        }
        
.container {
    width: 100%;
    min-width: 100%;
    margin: 0px auto 0;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}
        
        header {
            background: linear-gradient(to right, var(--accent), #ffffff, var(--success));
            color: #333;
            padding: 10px;
            text-align: center;
            position: relative;
        }
        
        h1 {
            font-size: 1.8rem;
            margin-bottom: 5px;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
        }
        
        .subtitle {
            font-size: 0.9rem;
            opacity: 0.9;
            max-width: 600px;
            margin: 0 auto;
        }
        
        .content {
            display: flex;
            flex-direction: column;
            padding: 10px;
            gap: 10px;
        }
        
        .top-section {
            display: flex;
            width: 100%;
            gap: 10px;
        }
        
        .converter-section, .indian-section {
            width: 50%;
            padding: 10px;
            background: #f9f9f9;
            border-radius: 8px;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
        }
        
        .output-section {
            width: 100%;
            padding: 10px;
            background: #f9f9f9;
            border-radius: 8px;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
        }
        
        .section-header {
            display: flex;
            align-items: center;
            margin-bottom: 10px;
            padding-bottom: 8px;
            border-bottom: 2px solid #138808;
        }
        
        .calendar-icon {
            width: 24px;
            height: 24px;
            margin-right: 8px;
            position: relative;
        }
        
        .calendar-icon svg {
            width: 100%;
            height: 100%;
        }
        
        .week-number {
            position: absolute;
            top: 65%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-size: 10px;
            font-weight: bold;
            color: #333;
        }
        
        h2 {
            color: var(--primary);
            font-size: 1.3rem;
        }
        
        .input-row {
            display: flex;
            gap: 8px;
            margin-bottom: 10px;
            align-items: flex-end;
        }
        
        .input-group {
            flex: 1;
            min-width: 0;
        }
        
        label {
            display: block;
            margin-bottom: 5px;
            font-weight: 600;
            color: #555;
            font-size: 0.9rem;
            white-space: nowrap;
        }
        
        input, select {
            width: 100%;
            padding: 8px;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-size: 0.9rem;
            transition: all 0.3s;
        }
        
        input:focus, select:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 2px rgba(26, 42, 108, 0.2);
            outline: none;
        }
        
        .convert-btn-container {
            display: flex;
            justify-content: center;
            margin-top: 8px;
        }
        
        button {
            background: var(--button-bg);
            color: white;
            border: none;
            padding: 8px 16px;
            border-radius: 6px;
            font-size: 0.9rem;
            cursor: pointer;
            transition: all 0.3s;
            font-weight: 600;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        
        button:hover {
            background: var(--button-hover);
            transform: translateY(-1px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
        }
        
        .result {
            margin-top: 10px;
            padding: 10px;
            background: white;
            border-radius: 6px;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
            border-left: 3px solid var(--success);
        }
        
        .result h3 {
            color: var(--primary);
            margin-bottom: 10px;
            font-size: 1.1rem;
        }
        
        .result p {
            margin-bottom: 8px;
            line-height: 1.4;
            font-size: 0.9rem;
        }
        
        .calendar-results {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 10px;
            margin-top: 10px;
            max-height: 400px;
            overflow-y: auto;
            padding: 10px;
            background: #f8f9fa;
            border-radius: 6px;
        }
        
        .calendar-result-item {
            background: white;
            padding: 10px;
            border-radius: 6px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            border-left: 3px solid var(--accent);
        }
        
        .calendar-result-item h4 {
            color: var(--primary);
            margin-bottom: 5px;
            font-size: 0.95rem;
        }
        
        .calendar-result-item p {
            margin: 2px 0;
            font-size: 0.85rem;
            line-height: 1.3;
        }
        
        .calendar-region {
            color: var(--secondary);
            font-weight: 600;
        }
        
        .calendar-date {
            color: var(--success);
            font-weight: 600;
        }
        
        .indian-display {
            padding: 15px;
            background: white;
            border-radius: 6px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            line-height: 1.6;
        }
        
        .indian-title {
            font-weight: bold;
            color: var(--primary);
            font-size: 1.2rem;
            margin-bottom: 12px;
            text-align: center;
        }
        
        .indian-date {
            color: var(--success);
            font-weight: 600;
            font-size: 1.1rem;
            margin-bottom: 8px;
        }
        
        .indian-gregorian {
            color: #666;
            font-size: 0.9rem;
            margin-bottom: 8px;
        }
        
        .indian-time {
            color: #007bff;
            font-size: 1.3rem;
            font-weight: bold;
            margin-bottom: 8px;
            text-align: center;
        }
        
        .indian-holiday {
            color: #007bff;
            font-style: italic;
            margin-top: 8px;
            padding-top: 8px;
            border-top: 1px dashed #ddd;
            text-align: center;
        }
        
        .info-section {
            width: 100%;
            padding: 10px;
            background: #f0f7ff;
            border-radius: 8px;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
        }
        
        .info-box {
            background: white;
            padding: 10px;
            border-radius: 6px;
            margin-bottom: 10px;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
        }
        
        .info-box h3 {
            color: var(--secondary);
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            font-size: 1.1rem;
        }
        
        .info-box h3 i {
            margin-right: 8px;
            font-size: 1rem;
        }
        
        .highlight {
            background: linear-gradient(120deg, var(--accent) 0%, var(--accent) 100%);
            background-repeat: no-repeat;
            background-size: 100% 0.2em;
            background-position: 0 88%;
            font-weight: 600;
        }
        
        @media (max-width: 768px) {
            body {
                padding: 3px;
            }
            
            .content {
                padding: 8px;
            }
            
            .top-section {
                flex-direction: column;
            }
            
            .converter-section, .indian-section {
                width: 100%;
            }
            
            .converter-section, .indian-section, .info-section, .output-section {
                padding: 8px;
            }
            
            h1 {
                font-size: 1.5rem;
            }
            
            .info-box, .result {
                padding: 8px;
            }
            
            .calendar-results {
                grid-template-columns: 1fr;
                max-height: 300px;
            }
            
            input, select {
                padding: 6px;
            }
            
            button {
                padding: 6px 12px;
            }
        }
        
        @media (max-width: 480px) {
            header {
                padding: 8px;
            }
            
            h1 {
                font-size: 1.3rem;
            }
            
            .subtitle {
                font-size: 0.8rem;
            }
            
            .content {
                padding: 5px;
            }
            
            .converter-section, .indian-section, .info-section, .output-section {
                padding: 8px;
            }
            
            .indian-title {
                font-size: 1.1rem;
            }
            
            .indian-time {
                font-size: 1.1rem;
            }
            
            .input-row {
                flex-wrap: nowrap;
            }
            
            .input-group {
                flex: 1;
                min-width: 0;
            }
        }