/* Modern Full-Page Background Login Design */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
    color: #333;
    overflow-x: hidden;
}

/* Full-Screen Background */
.fullscreen-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../../Images/img_login.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    transition: background-image 1s ease-in-out;
}

/* Header Bar */
.header-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: linear-gradient(135deg, rgba(38, 98, 223, 0.95), rgba(30, 80, 200, 0.95));
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.product-section {
    flex: 1;
}

.product-name {
    color: white;
    font-size: 24px;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.logo-section {
    display: flex;
    align-items: center;
}

.logo-img {
    max-height: 50px;
    max-width: 120px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* News Section (Left Side) */
.news-section {
    position: fixed;
    top: 380px;
    left: 30px;
    width: 45%;
    max-height: calc(100vh - 120px);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    z-index: 100;
}

.news-heading {
    font-size: 18px;
    font-weight: 700;
    color: #2662DF;
    margin-bottom: 15px;
    display: block;
}

.news-content {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    max-height: calc(100vh - 200px);
    overflow-y: auto;
    display: block;
}

/* Login Panel (Right Side) */
.login-panel {
    position: fixed;
    top: 50%;
    right: 50px;
    transform: translateY(-50%);
    width: 400px;
    z-index: 200;
}

.login-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.4);
    animation: slideInRight 0.8s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.login-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.login-title {
    font-size: 28px;
    font-weight: 700;
    color: #2662DF;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.close-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    transition: all 0.3s ease;
    opacity: 0.7;
    cursor: pointer;
    border: none;
    background: transparent;
    z-index: 1001;
    position: relative;
}

.close-btn:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Form Styling */
.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #555;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 14px;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    outline: none;
}

.form-input:focus {
    border-color: #2662DF;
    background: white;
    box-shadow: 0 0 0 3px rgba(38, 98, 223, 0.1);
    transform: translateY(-2px);
}

.form-input::placeholder {
    color: #aaa;
    font-style: italic;
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin: 20px 0;
}

.remember-checkbox {
    font-size: 13px;
    color: #666;
}

.remember-checkbox input[type="checkbox"] {
    margin-right: 8px;
    transform: scale(1.2);
}

.login-btn-group {
    text-align: center;
    margin-top: 30px;
}

.login-btn {
    transition: all 0.3s ease;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(38, 98, 223, 0.3);
}

.login-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(38, 98, 223, 0.4);
}

/* Reset Password Panel */
.reset-panel {
    position: fixed;
    top: 50%;
    right: 50px;
    transform: translateY(-50%);
    width: 400px;
    z-index: 200;
}

.reset-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.reset-header h3 {
    color: #2662DF;
    font-size: 22px;
    margin-bottom: 25px;
    text-align: center;
}

.student-name {
    color: #666;
    font-size: 14px;
    margin: 10px 0;
    font-style: italic;
}

.security-question {
    color: #2662DF;
    font-weight: 700;
}

.security-info {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 12px;
    margin: 8px 0 15px 0;
}

.security-info p {
    margin: 0;
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

.reset-note {
    background: #e3f2fd;
    border: 1px solid #bbdefb;
    border-radius: 8px;
    padding: 12px;
    margin: 20px 0;
}

.reset-note p {
    margin: 0;
    font-size: 13px;
    color: #1565c0;
    line-height: 1.4;
}

.reset-note strong {
    color: #0d47a1;
}

.reset-buttons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.btn-primary, .btn-secondary {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #2662DF, #1e50c8);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(38, 98, 223, 0.4);
}

.btn-secondary {
    background: #f8f9fa;
    color: #666;
    border: 2px solid #e0e0e0;
}

.btn-secondary:hover {
    background: #e9ecef;
    border-color: #ccc;
}

.reset-link-container {
    text-align: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.reset-link-inside {
    color: #2662DF;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.reset-link-inside:hover {
    opacity: 1;
    text-decoration: underline;
    color: #1e50c8;
}

.reset-link {
    color: white;
    text-decoration: none;
    background: rgba(0, 0, 0, 0.6);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 13px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.reset-link:hover {
    background: rgba(38, 98, 223, 0.8);
    transform: translateY(-2px);
    text-decoration: none;
    color: white;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .news-section {
        width: 40%;
    }
    
    .login-panel {
        right: 30px;
        width: 350px;
    }
}

@media (max-width: 768px) {
    .header-bar {
        padding: 0 15px;
        height: 60px;
    }
    
    .product-name {
        font-size: 18px;
    }
    
    .news-section {
        display: none;
    }
    
    .login-panel {
        right: 15px;
        left: 15px;
        width: auto;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .login-container {
        padding: 30px 25px;
    }
}

/* Legacy Support */
.UserID, .CompanyName, .Date {
    color: #000000;
    font-size: 10pt;
    line-height: 18pt;
}

.SignOut {
    font-size: 10pt;
    z-index: 122;
    color: Blue;
}

.TextBox {
    border: solid 1px gray;
    font-size: 10pt;
    font-family: 'Arial';
}

.NewsEventsHeading {
    font-weight: bold;
}

.NewsEvents {
    background-color: White;
    border: solid 1px black;
    font-size: 15pt;
}

.LoginHeading {
    background-color: lightgrey;
    text-align: left;
    line-height: 20pt;
    font-weight: bold;
}

.text02 {
    line-height: 25pt;
}