/* Noto Sans Devanagari for Hindi Text */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Devanagari:wght@400;700&display=swap');

:root {
    --primary-color: #000;
    --border-color: #000;
}

body {
    background: #f0f0f0;
}

.lbs-a4-container {
    width: 210mm;
    min-height: 297mm;
    padding: 10mm;
    margin: 20px auto;
    background: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    font-family: 'Noto Sans Devanagari', sans-serif;
    font-size: 13px;
    line-height: 1.5;
    color: var(--primary-color);
    box-sizing: border-box;
    position: relative;
    border: 1px solid #ddd;
}

.lbs-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.lbs-logo {
    width: 80px;
    height: 80px;
}

.lbs-college-name {
    text-align: center;
    flex-grow: 1;
}

.lbs-college-name h1 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
}

.lbs-form-header-details {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    border-bottom: 2px solid #000;
    padding-bottom: 5px;
}

.lbs-field-row {
    display: flex;
    align-items: baseline;
    margin-bottom: 8px;
    gap: 10px;
}

.lbs-field-label {
    white-space: nowrap;
    font-weight: 600;
}

.lbs-field-input-line {
    flex-grow: 1;
    border-bottom: 1px dotted #000;
    padding: 0 5px;
    min-height: 18px;
}

.lbs-photo-box {
    width: 120px;
    height: 150px;
    border: 1px solid #000;
    float: right;
    margin-left: 15px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 5px;
}

.lbs-table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}

.lbs-table th, .lbs-table td {
    border: 1px solid #000;
    padding: 4px;
    text-align: center;
}

.lbs-checkbox-group {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.lbs-checkbox-item {
    display: flex;
    align-items: center;
    gap: 2px;
    cursor: pointer;
    margin-right: 5px;
}

.lbs-checkbox-box {
    width: 15px;
    height: 15px;
    border: 1px solid #000;
}

.lbs-office-use-header {
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    text-decoration: underline;
    margin: 20px 0 10px 0;
}

.lbs-footer-row {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.lbs-print-btn {
    display: block;
    width: 200px;
    padding: 10px;
    background: #0073aa;
    color: #fff;
    text-align: center;
    cursor: pointer;
    margin: 20px auto;
    border-radius: 4px;
}

/* Print Styles */
@media print {
    body {
        background: none;
        margin: 0;
    }
    .lbs-print-btn, .admin-bar, header, footer, .sidebar, .comments-area {
        display: none !important;
    }
    .lbs-a4-container {
        margin: 0;
        box-shadow: none;
        width: 100%;
        border: none;
    }
    @page {
        size: A4;
        margin: 0;
    }
}

/* Form Styles for Data Entry */
.lbs-admission-form input[type="text"], 
.lbs-admission-form input[type="date"],
.lbs-admission-form select {
    border: none;
    border-bottom: 1px solid #ccc;
    background: transparent;
    padding: 2px 5px;
    font-family: inherit;
    width: 100%;
}

.lbs-admission-form input:focus {
    outline: none;
    border-bottom-color: #0073aa;
}

.no-print {
    display: none;
}
