        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        .marksheet-tool-container {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background-color: #f5f5f5;
        }
        
        .marksheet-tool-header {
            background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
            color: white;
            padding: 30px 0;
            margin-bottom: 40px;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        }
        
        .marksheet-main-content {
            display: flex;
            gap: 20px;
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 20px 40px;
        }
        
        .marksheet-left-panel {
            flex: 1;
            background: white;
            border-radius: 10px;
            padding: 30px;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        }
        
        .marksheet-right-panel {
            flex: 1;
            background: white;
            border-radius: 10px;
            padding: 30px;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
            position: sticky;
            top: 20px;
            height: fit-content;
            max-height: calc(100vh - 40px);
            overflow-y: auto;
        }
        
        .marksheet-section-title {
            color: #4a90e2;
            font-weight: 600;
            font-size: 20px;
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 2px solid #e0e0e0;
        }
        
        .marksheet-upload-box {
            border: 2px dashed #4a90e2;
            border-radius: 8px;
            padding: 30px;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s;
            margin-bottom: 20px;
            background-color: #f8f9fa;
        }
        
        .marksheet-upload-box:hover {
            background-color: #e3f2fd;
            border-color: #2196F3;
            transform: translateY(-2px);
        }
        
        .marksheet-input-group {
            margin-bottom: 20px;
        }
        
        .marksheet-input-group label {
            font-weight: 600;
            color: #333;
            margin-bottom: 8px;
            display: block;
            font-size: 14px;
        }
        
        .marksheet-input-group input,
        .marksheet-input-group textarea {
            border: 2px solid #e0e0e0;
            border-radius: 5px;
            padding: 10px;
            width: 100%;
            transition: border-color 0.3s;
            font-size: 14px;
        }
        
        .marksheet-input-group input:focus,
        .marksheet-input-group textarea:focus {
            border-color: #4a90e2;
            outline: none;
            box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
        }
        
        .marksheet-subject-row {
            background-color: #f8f9fa;
            padding: 15px;
            border-radius: 8px;
            margin-bottom: 15px;
            border-left: 4px solid #4a90e2;
        }
        
        .marksheet-btn-primary {
            background-color: #ffb417;
            border: none;
            color: #000;
            font-weight: 600;
            padding: 10px 20px;
            border-radius: 5px;
            transition: all 0.3s;
            cursor: pointer;
        }
        
        .marksheet-btn-primary:hover {
            background-color: #e6a015;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(255, 180, 23, 0.3);
        }
        
        .marksheet-btn-secondary {
            background-color: #E06666;
            border: none;
            color: white;
            font-weight: 600;
            padding: 10px 20px;
            border-radius: 5px;
            transition: all 0.3s;
            cursor: pointer;
        }
        
        .marksheet-btn-secondary:hover {
            background-color: #d55555;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(224, 102, 102, 0.3);
        }
        
        .marksheet-btn-info {
            background-color: #4a90e2;
            border: none;
            color: white;
            font-weight: 600;
            padding: 10px 20px;
            border-radius: 5px;
            transition: all 0.3s;
            cursor: pointer;
        }
        
        .marksheet-btn-info:hover {
            background-color: #3a80d2;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(74, 144, 226, 0.3);
        }
        
        .marksheet-btn-success {
            background-color: #5cb85c;
            border: none;
            color: white;
            font-weight: 600;
            padding: 10px 20px;
            border-radius: 5px;
            transition: all 0.3s;
            cursor: pointer;
        }
        
        .marksheet-btn-success:hover {
            background-color: #4cae4c;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(92, 184, 92, 0.3);
        }
        
        .marksheet-btn-small {
            padding: 5px 15px;
            font-size: 12px;
        }
        
        .marksheet-preview {
            background: white;
            border: 2px solid #e0e0e0;
            border-radius: 8px;
            padding: 30px;
            min-height: 400px;
            position: relative;
            overflow: visible;
        }
        
        .marksheet-preview-header {
            text-align: center;
            padding-bottom: 20px;
            padding-top: 20px;
            border-bottom: 3px solid #4a90e2;
            margin-bottom: 20px;
            position: relative;
            min-height: 150px;
        }
        
        .marksheet-logo {
            width: 80px;
            height: 80px;
            object-fit: contain;
            position: absolute;
            left: 20px;
            top: 20px;
            cursor: move;
            z-index: 10;
            user-select: none;
        }
        
        .marksheet-student-photo {
            width: 100px;
            height: 120px;
            object-fit: cover;
            position: absolute;
            right: 20px;
            top: 20px;
            border: 2px solid #4a90e2;
            cursor: move;
            z-index: 10;
            user-select: none;
        }
        
        .marksheet-preview-title {
            font-size: 24px;
            font-weight: 700;
            color: #333;
            margin-bottom: 5px;
            padding: 0 140px;
        }
        
        .marksheet-preview-subtitle {
            font-size: 14px;
            color: #666;
            padding: 0 140px;
        }
        
        .marksheet-info-row {
            display: flex;
            justify-content: space-between;
            margin-bottom: 10px;
            font-size: 14px;
        }
        
        .marksheet-info-label {
            font-weight: 600;
            color: #333;
        }
        
        .marksheet-table {
            width: 100%;
            margin: 20px 0;
            border-collapse: collapse;
        }
        
        .marksheet-table th {
            background-color: #4a90e2;
            color: white;
            padding: 12px;
            text-align: left;
            font-size: 14px;
        }
        
        .marksheet-table td {
            padding: 10px;
            border: 1px solid #ddd;
            font-size: 14px;
        }
        
        .marksheet-table tr:nth-child(even) {
            background-color: #f8f9fa;
        }
        
        .marksheet-summary {
            background-color: #f8f9fa;
            padding: 20px;
            border-radius: 8px;
            margin-top: 20px;
            text-align: center;
        }
        
        .marksheet-summary-item {
            display: inline-block;
            margin: 0 20px;
        }
        
        .marksheet-summary-label {
            font-size: 14px;
            color: #666;
            margin-bottom: 5px;
        }
        
        .marksheet-summary-value {
            font-size: 24px;
            font-weight: 700;
            color: #4a90e2;
        }
        
        .marksheet-grade-badge {
            display: inline-block;
            padding: 5px 15px;
            border-radius: 15px;
            font-weight: 700;
            font-size: 14px;
        }
        
        .marksheet-grade-a {
            background-color: #4a90e2;
            color: white;
        }
        
        .marksheet-grade-b {
            background-color: #ffb417;
            color: #000;
        }
        
        .marksheet-grade-c {
            background-color: #E06666;
            color: white;
        }
        
        .marksheet-color-picker {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .marksheet-color-input {
            width: 60px;
            height: 40px;
            border: 2px solid #e0e0e0;
            border-radius: 5px;
            cursor: pointer;
        }
        
        .marksheet-export-buttons {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
            margin-top: 20px;
        }
        
        .marksheet-customization-box {
            background-color: #fff9e6;
            padding: 20px;
            border-radius: 8px;
            margin-bottom: 20px;
            border: 2px solid #ffb417;
        }
        
        input[type="file"] {
            display: none;
        }
        
        .image-uploaded-indicator {
            display: inline-block;
            background-color: #d4edda;
            color: #155724;
            padding: 5px 10px;
            border-radius: 5px;
            font-size: 12px;
            margin-top: 10px;
        }
        
        @media (max-width: 992px) {
            .marksheet-main-content {
                flex-direction: column;
            }
            
            .marksheet-right-panel {
                position: relative;
                top: 0;
                max-height: none;
            }
            
            .marksheet-preview-title,
            .marksheet-preview-subtitle {
                padding: 0 20px;
            }
        }