input.parsley-success,
select.parsley-success,
textarea.parsley-success {
  color: #468847;
  background-color: #DFF0D8;
  border: 1px solid #D6E9C6;
}

input.parsley-error,
select.parsley-error,
textarea.parsley-error {
  color: #B94A48;
  background-color: #F2DEDE;
  border: 1px solid #EED3D7;
}

.parsley-errors-list {
  margin: 2px 0 3px;
  padding: 0;
  list-style-type: none;
  font-size: 0.9em;
  line-height: 0.9em;
  opacity: 0;
  color: #B94A48;

  transition: all .3s ease-in;
  -o-transition: all .3s ease-in;
  -moz-transition: all .3s ease-in;
  -webkit-transition: all .3s ease-in;
}

.parsley-errors-list.filled {
  opacity: 1;
}

.bg-primary,
.btn-primary {
  background-color: rgb(19 81 137) !important;
}

.question-card {
		border: 1px solid #e0e0e0;
		border-radius: 8px;
		padding: 20px;
		margin-bottom: 20px;
		background: #f8f9fa;
	}

	.rating-group {
		display: flex;
		justify-content: space-between;
		align-items: center;
		margin-top: 15px;
	}

	.rating-option {
		text-align: center;
		flex: 1;
	}

	.rating-option input[type="radio"] {
		transform: scale(1.2);
		margin-bottom: 5px;
	}

	.rating-labels {
		display: flex;
		justify-content: space-between;
		margin-top: 10px;
		font-size: 0.85rem;
		color: #666;
	}

	.progress-bar-container {
		background: #e9ecef;
		border-radius: 10px;
		height: 8px;
		margin-bottom: 20px;
	}

	.progress-bar {
		background: linear-gradient(90deg, #007bff, #0056b3);
		height: 100%;
		border-radius: 10px;
		transition: width 0.3s ease;
	}

	.question-number {
		color: #007bff;
		font-weight: bold;
		font-size: 0.9rem;
	}


 .report-container {
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        overflow: hidden;
    }

    .report-header {
        background: linear-gradient(135deg, #007bff, #0056b3);
        color: white;
        padding: 20px;
        text-align: center;
    }

    .report-content {
        padding: 40px;
        line-height: 1.7;
    }

    .report-content h1 {
        color: #007bff;
        border-bottom: 3px solid #007bff;
        padding-bottom: 10px;
        margin-bottom: 25px;
    }

    .report-content h2 {
        color: #0056b3;
        /* margin-top: 35px; */
        margin-bottom: 20px;
        border-left: 4px solid #007bff;
        padding-left: 15px;
    }

    .report-content h3 {
        color: #333;
        /* margin-top: 25px; */
        margin-bottom: 15px;
    }

    .report-content p {
        margin-bottom: 15px;
        text-align: justify;
    }

    .report-content ul, .report-content ol {
        margin-bottom: 20px;
        padding-left: 30px;
    }

    .report-content li {
        margin-bottom: 8px;
    }

    .report-content blockquote {
        background: #f8f9fa;
        border-left: 4px solid #007bff;
        margin: 20px 0;
        padding: 15px 20px;
        font-style: italic;
    }

    .report-content table {
        width: 100%;
        border-collapse: collapse;
        margin: 20px 0;
    }

    .report-content table th,
    .report-content table td {
        border: 1px solid #ddd;
        padding: 12px;
        text-align: left;
    }

    .report-content table th {
        background-color: #f8f9fa;
        font-weight: bold;
    }

    .report-content code {
        background: #f8f9fa;
        padding: 2px 6px;
        border-radius: 4px;
        font-family: 'Courier New', monospace;
    }

    .report-content pre {
        background: #f8f9fa;
        border: 1px solid #e9ecef;
        border-radius: 6px;
        padding: 15px;
        overflow-x: auto;
        margin: 20px 0;
    }

    .report-content pre code {
        background: none;
        padding: 0;
    }

    .action-buttons {
        background: #f8f9fa;
        padding: 25px 40px;
        border-top: 1px solid #e9ecef;
        text-align: center;
    }

    .download-btn {
        background: linear-gradient(135deg, #28a745, #20c997);
        color: white;
        border: none;
        padding: 12px 30px;
        font-size: 1.1rem;
        border-radius: 8px;
        margin: 0 10px;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .download-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
    }

    .print-btn {
        background: linear-gradient(135deg, #6c757d, #495057);
        color: white;
        border: none;
        padding: 12px 30px;
        font-size: 1.1rem;
        border-radius: 8px;
        margin: 0 10px;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .print-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
    }

    .student-info {
        background: #e3f2fd;
        border-radius: 8px;
        padding: 20px;
        margin-bottom: 30px;
        border-left: 4px solid #2196f3;
    }

    .student-info h5 {
        color: #1976d2;
        margin-bottom: 15px;
    }

    .student-info p {
        margin-bottom: 5px;
        color: #333;
    }

    @media print {
        .action-buttons,
        .navbar,
        .footer {
            display: none !important;
        }

        .report-container {
            box-shadow: none;
            border: none;
        }
    }

    .loading-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.7);
        z-index: 9999;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    .loading-content {
        text-align: center;
        color: white;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .loading-text {
        font-size: 1.1rem;
        font-weight: 500;
        margin-top: 1rem;
    }

     .loader {
        transform: rotateZ(45deg);
        perspective: 1000px;
        border-radius: 50%;
        width: 48px;
        height: 48px;
        color: #fff;
        position: relative;
    }

    .loader:before,
    .loader:after {
        content: '';
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: inherit;
        height: inherit;
        border-radius: 50%;
        transform: rotateX(70deg);
        animation: 1s spin linear infinite;
    }

    .loader:after {
        color: #135189;
        transform: rotateY(70deg);
        animation-delay: .4s;
    }

    @keyframes spin {
        0%, 100% { box-shadow: .2em 0px 0 0px currentcolor; }
        12% { box-shadow: .2em .2em 0 0 currentcolor; }
        25% { box-shadow: 0 .2em 0 0px currentcolor; }
        37% { box-shadow: -.2em .2em 0 0 currentcolor; }
        50% { box-shadow: -.2em 0 0 0 currentcolor; }
        62% { box-shadow: -.2em -.2em 0 0 currentcolor; }
        75% { box-shadow: 0px -.2em 0 0 currentcolor; }
        87% { box-shadow: .2em -.2em 0 0 currentcolor; }
    }