/* Global Body */
body { 
    font-family: Arial, sans-serif; 
    background: #f5f6fa; 
}

/* Swiper / Question Cards */
.swiper { 
    max-width: 500px; 
    margin: 50px auto; 
}

.swiper-slide.card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s;
}

.swiper-slide h3 { 
    font-size: 20px; 
    margin-bottom: 15px; 
    color: #333; 
}

.answer-field input,
.answer-field select,
.answer-field input[type=file] { 
    padding: 10px; 
    margin-bottom: 15px; 
    border-radius: 5px; 
    border: 1px solid #ccc; 
}

.answer-field label { 
    display: block; 
    margin-bottom: 8px; 
    font-size: 14px; 
}

.buttons { 
    display: flex; 
    justify-content: space-between; 
    margin-top: 15px; 
}

button.done { 
    background: #27ae60; 
    color: #fff; 
    padding: 10px 25px; 
    border: none; 
    border-radius: 7px; 
    cursor: pointer; 
    transition: .3s; 
}
button.done:hover { 
    background: #219150; 
}

button.later { 
    background: #e74c3c; 
    color: #fff; 
    padding: 10px 25px; 
    border: none; 
    border-radius: 7px; 
    cursor: pointer; 
    transition: .3s; 
}
button.later:hover { 
    background: #c0392b; 
}

/* Progress Bar */
.progress-bar { 
    width: 500px; 
    height: 10px; 
    background: #eee; 
    margin: 20px auto; 
    border-radius: 20px; 
}
#progress { 
    height: 10px; 
    width: 0; 
    background: #3498db; 
    border-radius: 20px; 
    transition: width .3s; 
}

/* Responsive Swiper */
@media(max-width:600px){
    .swiper { width: 95%; }
    button.done, button.later { padding: 8px 15px; }
}
#wp-submit {
  width: 100% !important;
}
/* Login Box Container */
.employee-login-box {
    max-width: 400px;
    margin: 80px auto;
    padding: 40px 30px;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    text-align: center;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* Form Labels */
.employee-login-box label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    text-align: left;
}

/* Input Fields */
.employee-login-box input[type=text],
.employee-login-box input[type=password] {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

/* Focus Effect */
.employee-login-box input[type=text]:focus,
.employee-login-box input[type=password]:focus {
    border-color: #3498db;
    box-shadow: 0 0 8px rgba(52,152,219,0.3);
    outline: none;
}

/* Submit Button */
.employee-login-box input[type=submit] {
    width: 100%;
    padding: 12px 0;
    background: #3498db;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s ease;
}
.employee-login-box input[type=submit]:hover {
    background: #2980b9;
}

/* Remember Me Checkbox */
.employee-login-box p.forgetmenot {
    text-align: left;
    margin-bottom: 15px;
}
.employee-login-box input[type=checkbox] {
    margin-right: 8px;
    transform: scale(1.2);
}

/* Lost Password / Extra Links */
.employee-login-box .login-extra-links {
    margin-top: 15px;
    font-size: 14px;
}
.employee-login-box .login-extra-links a {
    color: #3498db;
    text-decoration: none;
    transition: 0.3s ease;
}
.employee-login-box .login-extra-links a:hover {
    text-decoration: underline;
}

/* Responsive Login */
@media (max-width:480px){
    .employee-login-box {
        margin: 50px 15px;
        padding: 30px 20px;
    }
    .employee-login-box input[type=submit] {
        font-size: 15px;
        padding: 10px 0;
    }
}

.doc-table{
width:100%;
border-collapse:collapse;
margin-top:15px;
}

.doc-table th{
background:#f5f5f5;
padding:10px;
border:1px solid #ddd;
text-align:left;
}

.doc-table td{
padding:10px;
border:1px solid #ddd;
}

.doc-table a{
color:#0073aa;
font-weight:bold;
text-decoration:none;
}

.doc-table a:hover{
text-decoration:underline;
}
.doc-links{
display:grid;
grid-template-columns:1fr 1fr;
gap:20px;
margin-top:20px;
}

.doc-item{
background:#ffffff;
border:1px solid #e5e5e5;
border-radius:8px;
padding:15px;
box-shadow:0 2px 5px rgba(0,0,0,0.05);
transition:0.2s;
}

.doc-item:hover{
box-shadow:0 4px 10px rgba(0,0,0,0.08);
}

.doc-header{
display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:10px;
}

.doc-name{
font-weight:600;
color:#333;
}

.view-doc{
background:#0073aa;
color:#fff;
padding:4px 10px;
border-radius:4px;
font-size:13px;
text-decoration:none;
}

.view-doc:hover{
background:#005f8d;
}

.not-uploaded{
color:#999;
font-size:13px;
}

.doc-upload input{
width:100%;
padding:6px;
background:#fafafa;
border:1px solid #ddd;
border-radius:5px;
}



.answers-popup{
display:none;
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.6);
z-index:9999;
}

.popup-content{
background:#fff;
width:80%;
max-height:80%;
overflow:auto;
margin:50px auto;
padding:20px;
border-radius:6px;
position:relative;
}

.close-popup{
position:absolute;
right:15px;
top:10px;
font-size:25px;
cursor:pointer;
}

.bulk_action {
    display: flex;
    width: 20%;
}

/* Points Feedback Animation */
@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOut {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}

.points-feedback {
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.points-feedback.correct {
    background: #28a745 !important;
}

.points-feedback.wrong {
    background: #dc3545 !important;
}