        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        body {
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
            background: #f5f7fa;
            padding: 20px;
        }
        
        .container {
            width: 100%;
            max-width: 900px;
        }
        
        .tabs {
            display: flex;
            margin-bottom: -1px;
            z-index: 1;
            position: relative;
            flex-wrap: wrap;
        }
        
        .tab {
            padding: 15px 25px;
            background: #f8f9fa;
            border: 1px solid #ddd;
            border-bottom: none;
            border-radius: 8px 8px 0 0;
            cursor: pointer;
            font-weight: 500;
            transition: all 0.3s;
        }
        
        .tab.active {
            background: #fff;
            border-bottom: 1px solid #fff;
        }
        
        .form-container {
            background: #fff;
            padding: 40px;
            border-radius: 0 10px 10px 10px;
            box-shadow: 0 0 30px rgba(0, 0, 0, 0.15);
            width: 100%;
            border: 1px solid #ddd;
        }
        
        h1 {
            text-align: center;
            margin-bottom: 30px;
            color: #2c3e50;
            font-weight: 600;
            font-size: 28px;
        }
        
        .form-group {
            margin-bottom: 25px;
        }
        
        label {
            display: block;
            margin-bottom: 10px;
            font-weight: 500;
            color: #34495e;
            font-size: 16px;
        }
        
        input {
            width: 100%;
            padding: 15px;
            border: 1px solid #ddd;
            border-radius: 8px;
            font-size: 16px;
            transition: all 0.3s;
        }
        
        input:focus {
            outline: none;
            border-color: #3498db;
            box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
        }
        
        button {
            width: 100%;
            padding: 16px;
            background: #3498db;
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 18px;
            font-weight: 600;
            cursor: pointer;
            transition: background 0.3s;
            margin-top: 10px;
        }
        
        button:hover {
            background: #2980b9;
        }
        
        .success-message {
            background: #2ecc71;
            color: white;
            padding: 15px;
            border-radius: 8px;
            text-align: center;
            margin-top: 25px;
            display: none;
            font-weight: 500;
        }
        
        .error-message {
            background: #e74c3c;
            color: white;
            padding: 15px;
            border-radius: 8px;
            text-align: center;
            margin-top: 25px;
            display: none;
            font-weight: 500;
        }
        
        .rollno-container {
            text-align: center;
            margin-top: 25px;
            padding: 15px;
            background: #f8f9fa;
            border-radius: 8px;
            display: none;
        }
        
        .rollno-label {
            font-size: 16px;
            color: #7f8c8d;
            margin-bottom: 8px;
        }
        
        .rollno-value {
            font-size: 28px;
            font-weight: 700;
            color: #2c3e50;
            letter-spacing: 3px;
        }
        
        .instructions {
            text-align: center;
            margin-top: 25px;
            color: #7f8c8d;
            font-size: 14px;
            line-height: 1.6;
        }
        
        .search-results {
            margin-top: 25px;
            padding: 20px;
            background: #f8f9fa;
            border-radius: 8px;
            display: none;
        }
        
        .result-item {
            margin-bottom: 15px;
            padding-bottom: 15px;
            border-bottom: 1px solid #ddd;
        }
        
        .result-item:last-child {
            border-bottom: none;
            margin-bottom: 0;
            padding-bottom: 0;
        }
        
        .result-label {
            font-weight: 600;
            color: #34495e;
            display: inline-block;
            width: 120px;
        }
        
        .no-results {
            text-align: center;
            color: #7f8c8d;
            font-style: italic;
        }
        
        .status {
            display: inline-block;
            padding: 5px 12px;
            border-radius: 20px;
            font-size: 14px;
            font-weight: 500;
        }
        
        .status-pending {
            background-color: #ffeaa7;
            color: #d35400;
        }
        
        .status-approved {
            background-color: #d5f5e3;
            color: #27ae60;
        }
        
        .status-rejected {
            background-color: #fadbd8;
            color: #c0392b;
        }
        
        /* ID Card Styles */
        .id-card-container {
            display: flex;
            justify-content: center;
            margin-top: 30px;
        }
        
        .id-card {
            width: 350px;
            height: 220px;
            background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
            border-radius: 15px;
            padding: 20px;
            color: white;
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
            position: relative;
            overflow: hidden;
            transition: all 0.3s ease;
        }
        
        .id-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" width="100" height="100" opacity="0.1"><text x="50%" y="50%" font-size="50" text-anchor="middle" dominant-baseline="middle" fill="white">IU</text></svg>');
            opacity: 0.1;
        }
        
        .id-card-header {
            text-align: center;
            margin-bottom: 15px;
            border-bottom: 2px solid rgba(255, 255, 255, 0.3);
            padding-bottom: 10px;
        }
        
        .id-card-header h2 {
            font-size: 18px;
            margin: 0;
            letter-spacing: 2px;
        }
        
        .id-card-header p {
            font-size: 12px;
            margin: 5px 0 0;
            opacity: 0.8;
        }
        
        .id-card-body {
            display: flex;
            justify-content: space-between;
        }
        
        .id-card-info {
            flex: 1;
        }
        
        .id-card-info p {
            margin: 6px 0;
            font-size: 12px;
            display: flex;
            align-items: center;
        }
        
        .id-card-info strong {
            display: inline-block;
            width: 70px;
            font-size: 11px;
        }
        
        .id-card-info span {
            font-size: 11px;
            flex: 1;
        }
        
        .id-card-photo {
            width: 80px;
            height: 80px;
            border: 2px solid white;
            border-radius: 4px;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: #f8f9fa;
        }
        
        .id-card-photo img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .id-card-photo .placeholder {
            color: #6c757d;
            font-size: 10px;
            text-align: center;
            padding: 5px;
        }
        
        .id-card-footer {
            position: absolute;
            bottom: 10px;
            right: 15px;
            text-align: right;
        }
        
        .id-card-id {
            font-size: 10px;
            opacity: 0.8;
        }
        
        .id-card-actions {
            text-align: center;
            margin-top: 20px;
        }
        
        .photo-upload {
            margin-top: 15px;
        }
        
        #photoInput {
            padding: 10px;
            background: #f8f9fa;
            border: 1px dashed #ddd;
        }
        
        #generateIdCard {
            background: #27ae60;
        }
        
        #generateIdCard:hover {
            background: #219653;
        }
        
        #downloadIdCard {
            background: #e74c3c;
            display: none;
            margin-top: 10px;
        }
        
        #downloadIdCard:hover {
            background: #c0392b;
        }
        
        /* Color customization styles */
        .color-customization {
            margin-top: 20px;
            padding: 15px;
            background: #f8f9fa;
            border-radius: 8px;
        }
        
        .color-options {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-top: 10px;
        }
        
        .color-option {
            width: 40px;
            height: 40px;
            border-radius: 8px;
            cursor: pointer;
            border: 2px solid transparent;
            transition: all 0.2s;
        }
        
        .color-option:hover {
            transform: scale(1.1);
        }
        
        .color-option.active {
            border: 2px solid #2c3e50;
            box-shadow: 0 0 5px rgba(0,0,0,0.3);
        }
        
        .color-picker-container {
            margin-top: 15px;
        }
        
        .color-picker-label {
            display: block;
            margin-bottom: 8px;
            font-weight: 500;
        }
        
        .color-picker {
            width: 100%;
            height: 40px;
            border: none;
            border-radius: 8px;
            cursor: pointer;
        }
        
        @media (max-width: 600px) {
            .form-container {
                padding: 25px;
            }
            
            h1 {
                font-size: 24px;
            }
            
            input {
                padding: 12px;
            }
            
            button {
                padding: 14px;
            }
            
            .tab {
                padding: 12px 20px;
                font-size: 14px;
            }
            
            .result-label {
                width: 100px;
            }
            
            .id-card {
                width: 300px;
                height: 200px;
                padding: 15px;
            }
            
            .id-card-header h2 {
                font-size: 16px;
            }
            
            .id-card-info p {
                font-size: 11px;
            }
            
            .id-card-info strong {
                width: 60px;
                font-size: 10px;
            }
            
            .id-card-info span {
                font-size: 10px;
            }
            
            .id-card-photo {
                width: 70px;
                height: 70px;
            }
            
            .color-option {
                width: 35px;
                height: 35px;
            }
        }
