/* --- GLOBAL RESET & BASE --- */
* {
    box-sizing: border-box;
}

body {
    background: #eef2f7;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    padding: 40px 20px;
    margin: 0;
    color: #2d3436;
}

/* --- LAYOUT WRAPPER --- */
.page-wrapper {
    display: flex;
    max-width: 1200px; /* Increased for a professional dashboard feel */
    margin: auto;
    gap: 30px;
    align-items: flex-start;
}

/* --- SIDEBAR NAVIGATION --- */
.sidebar {
    width: 280px;
    background: white;
    padding: 25px 15px;
    border-radius: 12px;
    box-shadow: 0px 8px 25px rgba(0,0,0,0.08);
    position: sticky;
    top: 40px;
    flex-shrink: 0;
	height: 860px;
	
}

.sidebar h3 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #7f8c8d;
    margin-bottom: 20px;
    padding-left: 12px;
    font-weight: 700;
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar ul li {
    margin-bottom: 8px;
}

.sidebar ul li a {
    text-decoration: none;
    color: #444;
    font-weight: 600;
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 14.5px;
}

.sidebar ul li a i {
    margin-right: 12px;
    width: 20px;
    text-align: center;
    color: #3498db;
    font-size: 16px;
}

.sidebar ul li a:hover {
    background: #f0f7ff;
    color: #2980b9;
    transform: translateX(5px);
}

.sidebar ul li a.active {
    background: #3498db;
    color: white !important;
}

.sidebar ul li a.active i {
    color: white !important;
}

/* --- MAIN CONTENT CONTAINER --- */
/* Handles both .container and .container-main classes used in your pages */
.container, .container-main, .faq-box {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0px 8px 25px rgba(0,0,0,0.10);
    flex: 1;
    min-width: 0;
    margin: 0 !important; /* Overrides any previous centering margins */
}

h2 {
    color: #2d3436;
    font-weight: 700;
    margin-bottom: 25px;
    font-size: 28px;
    text-align: center;
}

/* --- FORM ELEMENTS --- */
label, .form-label {
    font-weight: 600;
    display: block;
    margin-top: 18px;
    font-size: 15px;
    color: #333;
}

select, input[type="text"], input[type="email"], input[type="file"], textarea {
    width: 100%;
    padding: 12px;
    margin-top: 6px;
    border: 1px solid #ccd1d9;
    border-radius: 6px;
    font-size: 15px;
    background: #fafafa;
    transition: 0.3s;
}

select:focus, input:focus, textarea:focus {
    border-color: #3498db;
    background: #fff;
    outline: none;
    box-shadow: 0px 0px 8px rgba(52,152,219,0.2);
}

.btn {
    margin-top: 20px;
    padding: 13px;
    border: none;
    color: white;
    font-size: 16px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-primary, .btn-submit, .btn-success {
    background: linear-gradient(120deg, #3498db, #2980b9);
}

.btn:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

/* --- RESULT BOXES & ALERTS --- */
.result-box { background: #eaf1ff; border-left: 5px solid #1a73e8; padding: 20px; margin-top: 30px; border-radius: 7px; }
.no-result, .alert-danger { background: #ffecec; border-left: 5px solid #ff2f2f; padding: 20px; margin-top: 30px; border-radius: 7px; color: #a80000; font-weight: 600; }
.msg, .alert-success { background: #d4edda; border-left: 5px solid #28a745; padding: 20px; margin-top: 30px; border-radius: 7px; color: #155724; font-weight: 600; }

/* --- FAQ SPECIFIC --- */
.faq-item { margin-bottom: 25px; padding-bottom: 20px; border-bottom: 1px solid #f1f2f6; }
.faq-question { display: flex; align-items: flex-start; font-size: 17px; font-weight: 600; color: #2c3e50; margin-bottom: 10px; }
.faq-question i { color: #3498db; margin-right: 12px; margin-top: 4px; }
.faq-answer { padding-left: 30px; color: #636e72; line-height: 1.6; }

/* --- INSTRUCTIONS SPECIFIC --- */
.step-card { display: flex; margin-bottom: 30px; position: relative; }
.step-number { background: #3498db; color: white; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; flex-shrink: 0; margin-right: 20px; z-index: 2; }
.step-card:not(:last-child)::after { content: ''; position: absolute; left: 18px; top: 36px; bottom: -30px; width: 2px; background: #dfe6e9; z-index: 1; }
.step-content h4 { margin: 0 0 5px 0; color: #2d3436; font-size: 18px; }

/* --- RESPONSIVENESS --- */
@media (max-width: 900px) {
    .page-wrapper { flex-direction: column; }
    .sidebar { width: 100%; position: relative; top: 0; }
}



/* This makes the div look like a standard input field */
    .input-wrapper {
        display: flex;
        align-items: center;
        background: #fafafa;
        border: 1px solid #ccd1d9;
        border-radius: 6px;
        padding: 0 12px;
        transition: 0.3s;
        max-width: 900px;
    }

    /* Change color when the user clicks inside */
    .input-wrapper:focus-within {
        border-color: #3498db;
        background: #fff;
        box-shadow: 0px 0px 8px rgba(52,152,219,0.2);
    }

    .prefix {
        color: #7f8c8d; /* Professional grey color */
        font-weight: 600;
        white-space: nowrap;
        user-select: none; /* Prevents user from selecting the prefix */
        font-size: 15px;
    }

    .input-wrapper input {
        border: none !important; /* Removes inner border */
        background: transparent !important;
        padding: 12px 0px;
        width: 100%;
        outline: none;
        font-size: 15px;
        color: #2d3436;
    }
	.input-wrapper input {
    /* ... existing styles ... */
    transform: translateY(-1px);
	font-weight: 700;
}
.otp-button{
	display: inline-block;
	padding: 8px 8px;
	background-color: #007bff;
	color: white;
	text-decoration: none;
	border-radius: 4px;
	font-family: sans-serif;
	font-size: 14px;
	font-weight: bold;
	border: none;
	cursor: pointer;
}