html, body, .innovya-dashboard, .innovya-sidebar {
  border-radius: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
.innovya-sidebar {
  box-shadow: none !important;
  border: none !important;
}
body {
    margin: 0 !important;
    padding: 0 !important;
}
.innovya-dashboard {
    display: flex;
    min-height: 100vh;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f6f9fb;
    width: 100vw;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    position: relative;
    top: 0;
    border-radius: 0 !important;
}
/* Remove any centering or max-width from dashboard container */
.innovya-dashboard {
    width: 100vw !important;
    margin: 0 !important;
    max-width: none !important;
}
.innovya-sidebar {
    width: 280px;
    background: #1a2b32;
    color: #fff;
    display: flex;
    flex-direction: column;
    padding: 32px 0 0 0;
    min-height: 100vh;
    transition: width 0.2s;
    box-sizing: border-box;
    position: relative;
    border-radius: 0 !important;
    margin-top: 0 !important;
}
.innovya-logout-form {
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
    margin: 0;
    padding: 0;
    margin-bottom: 24px;
}
.innovya-logout-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px 18px 32px;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    text-align: left;
    border-top: 1.5px solid #22343c;
    transition: background 0.18s;
}
.innovya-logout-btn:hover {
    background: #22343c;
    color: #2B4DFF;
}
.innovya-logout-btn svg {
    stroke: #fff;
    transition: stroke 0.18s;
}
.innovya-logout-btn:hover svg {
    stroke: #2B4DFF;
}
.innovya-logo {
    font-size: 2.2rem;
    font-weight: bold;
    color: #2B4DFF;
    margin: 32px 0 32px 32px;
    letter-spacing: 1px;
    line-height: 1.2;
    margin-top: 48px;
}
.innovya-sidebar nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.innovya-sidebar nav ul li {
    padding: 18px 32px;
    cursor: pointer;
    border-left: 4px solid transparent;
    transition: background 0.2s, border-color 0.2s;
    font-size: 1.1rem;
}
.innovya-sidebar nav ul li.active, .innovya-sidebar nav ul li:hover {
    background: #22343c;
    border-left: 4px solid #2B4DFF;
}
.innovya-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    width: 100%;
    margin: 0;
    padding: 0;
}
.innovya-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0 32px 0 32px;
    background: none;
    box-shadow: none;
    border: none;
}
.innovya-user {
    background: #2B4DFF;
    color: #fff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}
.innovya-content {
    padding: 0 48px 0 48px;
    width: 100%;
    box-sizing: border-box;
}
.innovya-content h1 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .innovya-sidebar {
        width: 200px;
        padding-top: 24px;
    }
    .innovya-logo {
        font-size: 1.5rem;
        margin-left: 16px;
    }
    .innovya-content {
        padding: 32px 16px 0 16px;
    }
}
@media (max-width: 768px) {
    .innovya-dashboard {
        flex-direction: column;
    }
    .innovya-sidebar {
        flex-direction: row;
        width: 100vw;
        min-height: unset;
        height: 60px;
        padding: 0;
        align-items: center;
        justify-content: space-between;
    }
    .innovya-logo {
        margin: 0 0 0 16px;
        font-size: 1.3rem;
    }
    .innovya-sidebar nav ul {
        display: flex;
        flex-direction: row;
        margin: 0 16px 0 0;
    }
    .innovya-sidebar nav ul li {
        padding: 0 16px;
        border-left: none;
        border-bottom: 4px solid transparent;
        font-size: 1rem;
        height: 60px;
        display: flex;
        align-items: center;
    }
    .innovya-sidebar nav ul li.active, .innovya-sidebar nav ul li:hover {
        background: none;
        border-bottom: 4px solid #2B4DFF;
    }
    .innovya-main {
        width: 100vw;
    }
    .innovya-content {
        padding: 24px 8px 0 8px;
    }
}
@media (max-width: 480px) {
    .innovya-logo {
        font-size: 1rem;
        margin-left: 8px;
    }
    .innovya-sidebar nav ul li {
        padding: 0 8px;
        font-size: 0.9rem;
    }
    .innovya-content h1 {
        font-size: 1.2rem;
    }
    .innovya-content {
        padding: 12px 2px 0 2px;
    }
}

.innovya-form {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    padding: 32px;
    max-width: 800px;
    margin: 0 auto;
}
.innovya-form-group {
    margin-bottom: 24px;
}
.innovya-form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: #22343c;
}
.innovya-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    background: #f6f9fb;
    transition: border 0.2s;
}
.innovya-input:focus {
    border: 1.5px solid #2B4DFF;
    outline: none;
    background: #fff;
}
.innovya-btn {
    padding: 10px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    margin-right: 12px;
    margin-bottom: 8px;
    transition: background 0.2s, color 0.2s;
}
.innovya-btn-primary {
    background: #2B4DFF;
    color: #fff;
}
.innovya-btn-primary:hover {
    background: #2340cc;
}
.innovya-btn-secondary {
    background: #e0e0e0;
    color: #22343c;
}
.innovya-btn-secondary:hover {
    background: #b2bec3;
}
.innovya-btn-danger {
    background: #ff7675;
    color: #fff;
}
.innovya-btn-danger:hover {
    background: #d63031;
}
.innovya-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

/* Edit Test Modal Styles */
.innovya-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto;
    /* Fallback for older browsers */
    text-align: center;
}

.innovya-modal-content {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 800px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    margin: auto;
    position: relative;
    /* Fallback centering */
    display: inline-block;
    text-align: left;
    vertical-align: middle;
}

.innovya-modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid #e8eaed;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f6f9fb;
    border-radius: 12px 12px 0 0;
}

.innovya-modal-header h2 {
    margin: 0;
    color: #22343c;
    font-size: 1.5rem;
    font-weight: 600;
}

.innovya-modal-close {
    font-size: 24px;
    font-weight: bold;
    color: #888;
    cursor: pointer;
    line-height: 1;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.innovya-modal-close:hover {
    color: #333;
    background: #e8eaed;
}

.innovya-modal-body {
    padding: 24px;
}

.innovya-modal-footer {
    padding: 20px 24px;
    border-top: 1px solid #e8eaed;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    background: #f6f9fb;
    border-radius: 0 0 12px 12px;
}

.innovya-edit-question-block {
    background: #f6f9fb;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #e8eaed;
}

.innovya-edit-question-block label {
    font-weight: 600;
    color: #22343c;
    margin-bottom: 8px;
    display: block;
}

/* MCQ Options styling */
.innovya-edit-question-block .innovya-form-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: #2B4DFF;
}

.innovya-edit-question-block .innovya-form-group > div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.innovya-edit-question-block .innovya-form-group > div input[type="text"] {
    flex: 1;
}

/* Additional modal centering fixes */
@media (max-height: 600px) {
    .innovya-modal {
        align-items: flex-start;
        padding-top: 10px;
    }
    
    .innovya-modal-content {
        max-height: calc(100vh - 20px);
    }
}

/* Progress modal animations */
#pdf-progress-bar {
    transition: width 0.3s ease;
    background: linear-gradient(90deg, #2B4DFF, #4A90E2);
    position: relative;
    overflow: hidden;
}

#pdf-progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Progress modal specific styles */
.innovya-modal[style*="z-index: 10001"] {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
}

.innovya-modal[style*="z-index: 10001"] .innovya-modal-content {
    animation: slideIn 0.3s ease-out;
    margin: auto !important;
    position: relative !important;
    display: inline-block !important;
    vertical-align: middle !important;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


.innovya-question-block {
    background: #f6f9fb;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.03);
    position: relative;
}
.innovya-mcq-options-group label {
    margin-bottom: 4px;
}
.innovya-mcq-options-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 8px;
}
.innovya-mcq-option {
    display: flex;
    align-items: center;
    gap: 8px;
}
#test-link-result {
    font-size: 1.1rem;
    color: #2B4DFF;
    margin-top: 12px;
}
@media (max-width: 768px) {
    .innovya-form {
        padding: 16px;
        max-width: 100%;
    }
    .innovya-question-block {
        padding: 12px;
    }
}

.innovya-response-table-wrapper {
    overflow-x: auto;
    margin-top: 24px;
}
.innovya-response-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    font-size: 1rem;
}
.innovya-response-table th, .innovya-response-table td {
    padding: 14px 18px;
    border-bottom: 1px solid #f0f0f0;
    text-align: left;
}
.innovya-response-table th {
    background: #f6f9fb;
    font-weight: 600;
    color: #22343c;
}
.innovya-response-table tr:last-child td {
    border-bottom: none;
}
@media (max-width: 600px) {
    .innovya-response-table th, .innovya-response-table td {
        padding: 8px 6px;
        font-size: 0.95rem;
    }
} 