/* Main Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
}

.screen {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Login Styles */
.login-container {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
}

.login-container h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.form-container {
    width: 100%;
}

.input-group {
    margin-bottom: 1rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #555;
}

.input-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.input-group input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.btn-primary, .btn-secondary {
    width: 100%;
    padding: 0.75rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-primary {
    background-color: #3498db;
    color: white;
}

.btn-primary:hover {
    background-color: #2980b9;
}

.btn-secondary {
    background-color: #95a5a6;
    color: white;
    margin-top: 0.5rem;
}

.btn-secondary:hover {
    background-color: #7f8c8d;
}

.switch-form {
    text-align: center;
    margin-top: 1rem;
}

.switch-form a {
    color: #3498db;
    text-decoration: none;
}

.switch-form a:hover {
    text-decoration: underline;
}

.message {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 4px;
    text-align: center;
    display: none;
}

.message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* Dashboard Styles */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #2c3e50;
    color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.app-name {
    font-size: 1.5rem;
    font-weight: bold;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-info span {
    font-weight: 500;
}

.main-container {
    display: flex;
    min-height: calc(100vh - 70px);
}

.sidebar {
    width: 250px;
    background-color: #34495e;
    color: white;
    padding: 1rem 0;
    min-height: 100%;
}

.sidebar nav ul {
    list-style: none;
}

.sidebar nav li {
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.sidebar nav li:hover {
    background-color: #2c3e50;
}

.sidebar nav li.active {
    background-color: #3498db;
}

.dashboard-content {
    flex: 1;
    padding: 2rem;
    overflow-y: auto;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.dashboard-header h1 {
    color: #2c3e50;
}

/* Summary Cards */
.summary-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.card-icon.bg-blue { background-color: #3498db; }
.card-icon.bg-green { background-color: #2ecc71; }
.card-icon.bg-purple { background-color: #9b59b6; }
.card-icon.bg-orange { background-color: #f39c12; }
.card-icon.bg-red { background-color: #e74c3c; }

.card-content h3 {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-bottom: 0.5rem;
}

.card-content p {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c3e50;
}

/* ============================================
   IMPROVED FILTERS SECTION
   ============================================ */

.filters {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

/* Filter rows - organized by logical groups */
.filter-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
    align-items: end; /* Align items to bottom for consistent baseline */
}

/* Date range takes 1 column but has 2 inputs inside */
.filter-group.date-range {
    grid-column: span 1;
}

.date-range-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.date-input-wrapper {
    display: flex;
    flex-direction: column;
}

.date-input-wrapper label {
    font-size: 0.75rem;
    margin-bottom: 0.25rem;
    color: #666;
    font-weight: 500;
}

/* Standard filter groups */
.filter-group {
    display: flex;
    flex-direction: column;
    min-width: 0; /* Prevents overflow */
}

.filter-group label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #555;
    font-size: 0.85rem;
}

.filter-group input,
.filter-group select {
    padding: 0.65rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    width: 100%;
    background: white;
}

.filter-group input:focus,
.filter-group select:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

/* Special styling for multiple select */
.filter-group select[multiple] {
    min-height: 42px;
    padding: 0.5rem;
}

/* Date preset buttons row */
.date-presets {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.date-presets .btn-small {
    flex: 1;
    padding: 0.4rem 0.6rem;
    font-size: 0.75rem;
}

/* Filter action buttons - separate row */
.filter-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    padding-top: 1rem;
    border-top: 1px solid #eee;
    margin-top: 0.5rem;
}

.filter-actions button {
    min-width: 140px;
    padding: 0.65rem 1.25rem;
}

/* Navigator filter - full width when visible */
#navigator-filter {
    grid-column: span 2;
}

/* Responsive behavior */
@media (max-width: 1200px) {
    .filter-row {
        grid-template-columns: repeat(3, 1fr);
    }
    
    #navigator-filter {
        grid-column: span 3;
    }
}

@media (max-width: 900px) {
    .filter-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .filter-group.date-range {
        grid-column: span 2;
    }
    
    #navigator-filter {
        grid-column: span 2;
    }
}

@media (max-width: 600px) {
    .filter-row {
        grid-template-columns: 1fr;
    }
    
    .filter-group.date-range {
        grid-column: span 1;
    }
    
    .date-range-inputs {
        grid-template-columns: 1fr;
    }
    
    #navigator-filter {
        grid-column: span 1;
    }
    
    .filter-actions {
        flex-direction: column;
    }
    
    .filter-actions button {
        width: 100%;
    }
}

/* Charts */
.charts-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.chart {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Table */
.table-container {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: auto;
    margin-bottom: 2rem;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #2c3e50;
}

tr:hover {
    background-color: #f8f9fa;
}

.actions-cell {
    display: flex;
    gap: 0.5rem;
}

.btn-action {
    padding: 0.25rem 0.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-edit {
    background-color: #3498db;
    color: white;
}

.btn-delete {
    background-color: #e74c3c;
    color: white;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none; /* Changed from flex */
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal.show {
    display: flex !important; /* Force flex when show class is added */
    opacity: 1;
    visibility: visible;
}

/* Ensure modal content is always visible */
.modal-content {
    position: relative;
    z-index: 1001;
}

.modal-content {
    background-color: white;
    border-radius: 12px;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px 12px 0 0;
}

.modal-header h3 {
    color: white;
    margin: 0;
}

.close {
    font-size: 1.5rem;
    cursor: pointer;
    color: white;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.2);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close:hover {
    color: white;
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.3);
}

.modal-body {
    padding: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #555;
    display: flex;
    align-items: center;
}

.form-group label.required::after {
    content: " *";
    color: #e74c3c;
    margin-left: 2px;
}

.form-group input,
.form-group select {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    justify-content: flex-end;
    border-top: 1px solid #eee;
    padding-top: 1.5rem;
}

/* Section headers for form */
.form-section {
    margin: 1.5rem 0;
    padding: 1rem 0;
    border-bottom: 2px solid #f0f0f0;
}

.form-section h4 {
    margin: 0 0 1rem 0;
    color: #2c3e50;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-section h4 i {
    color: #3498db;
}

/* Conditional field styling */
.conditional-field {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 6px;
    border-left: 3px solid #3498db;
    margin: 0.5rem 0;
}

/* Responsive form */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        width: 95%;
        margin: 1rem;
    }
    
    .modal-body {
        padding: 1rem;
    }
}

/* Status Badges */
.status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-align: center;
    text-transform: uppercase;
}

.status-active {
    background-color: #d4edda;
    color: #155724;
}

.status-inactive {
    background-color: #f8d7da;
    color: #721c24;
}

.status-pending {
    background-color: #fff3cd;
    color: #856404;
}

/* Enhanced Table Styles */
table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #2c3e50;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

tr:hover {
    background-color: #f8f9fa;
    transition: background-color 0.2s ease;
}

tr:last-child td {
    border-bottom: none;
}

/* Enhanced Button Styles */
.btn-action {
    padding: 0.25rem 0.75rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.btn-action:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.btn-edit {
    background-color: #3498db;
    color: white;
}

.btn-edit:hover {
    background-color: #2980b9;
}

.btn-delete {
    background-color: #e74c3c;
    color: white;
}

.btn-delete:hover {
    background-color: #c0392b;
}

.btn-activate {
    background-color: #2ecc71;
    color: white;
}

.btn-activate:hover {
    background-color: #27ae60;
}

.btn-deactivate {
    background-color: #e74c3c;
    color: white;
}

.btn-deactivate:hover {
    background-color: #c0392b;
}

.btn-primary {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    padding: 0.875rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    box-shadow: 0 2px 6px rgba(52, 152, 219, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn-primary:hover::before {
    transform: translateX(100%);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2980b9, #2573a7);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(52, 152, 219, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(52, 152, 219, 0.3);
}

.btn-primary i {
    font-size: 1rem;
}

/* Special styling for the Add Entry button */
#add-entry-btn {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    box-shadow: 0 2px 8px rgba(46, 204, 113, 0.4);
}

#add-entry-btn:hover {
    background: linear-gradient(135deg, #27ae60, #219653);
    box-shadow: 0 6px 14px rgba(46, 204, 113, 0.5);
}

#add-entry-btn:active {
    box-shadow: 0 2px 8px rgba(46, 204, 113, 0.4);
}

#add-entry-btn::before {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
}

.btn-secondary {
    background-color: #95a5a6;
    color: white;
    border: none;
    padding: 0.75rem 1.25rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    background-color: #7f8c8d;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.btn-secondary i {
    font-size: 0.9rem;
}

.btn-success {
    background-color: #2ecc71;
    color: white;
    border: none;
    padding: 0.75rem 1.25rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-success:hover {
    background-color: #27ae60;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.btn-success i {
    font-size: 0.9rem;
}

.btn-small {
    background-color: #bdc3c7;
    color: #2c3e50;
    border: none;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.btn-small:hover {
    background-color: #95a5a6;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.btn-small i {
    font-size: 0.8rem;
}

/* Disabled button state */
button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* Loading and Empty States */
.loading-state {
    text-align: center;
    padding: 2rem;
    color: #7f8c8d;
}

.empty-state {
    text-align: center;
    padding: 2rem;
    color: #7f8c8d;
}

.empty-state i {
    font-size: 2rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* Responsive Table */
@media (max-width: 768px) {
    .table-container {
        overflow-x: auto;
    }
    
    table {
        min-width: 600px;
    }
    
    th, td {
        padding: 0.5rem;
        font-size: 0.8rem;
    }
    
    .modal-content {
        width: 95%;
        margin: 1rem;
    }
    
    .modal-header {
        padding: 1rem;
    }
    
    .modal-body {
        padding: 1rem;
    }
}

/* Input and Select Styles - Uniformity */
input,
select,
textarea {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    font-family: inherit;
    box-sizing: border-box;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .main-container {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        height: auto;
    }
    
    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .summary-cards {
        grid-template-columns: 1fr;
    }
    
    .charts-container {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    table {
        font-size: 0.8rem;
    }
    
    th, td {
        padding: 0.5rem;
    }
}

/* Dashboard Screen Styles */
.dashboard-screen {
    width: 100%;
    min-height: 100vh;
}

.invoice-generator-screen {
    display: none;
    padding: 2rem;
}

.invoice-generator-screen.active {
    display: block !important;
}

/* Filter group styling */
.filter-group {
    flex: 1;
    min-width: 200px;
}

.filter-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #555;
}

/* Date range container styling */
div[style*="display: flex; gap: 10px;"] {
    flex-wrap: wrap;
}

/* Date range container */
.date-range-container {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.date-input-group {
    display: flex;
    flex-direction: column;
}

.date-input-group label {
    margin-bottom: 0.5rem;
}

.date-input-group input {
    min-width: 140px;
}

/* Filter rows to organize filters in rows */
.filter-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.filter-row:last-child {
    margin-bottom: 1.5rem;
}

/* Filter actions container */
.filter-actions {
    display: flex;
    gap: 0.5rem;
    align-self: flex-end;
    margin-top: 0;
    min-height: 42px;
    flex-wrap: nowrap;
}

.filter-actions button {
    margin: 0;
    flex: 1;
    min-width: 120px; /* Ensure consistent button width */
}

/* Responsive adjustments for filters */
@media (max-width: 768px) {
    .filters {
        grid-template-columns: 1fr;
    }
    
    .date-range-container {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .filter-row {
        flex-direction: column;
    }
    
    .filter-actions {
        flex-direction: column;
    }
    
    .filter-actions button {
        flex: none;
    }
}

/* ============================================
   MODERN TEAL LOGIN PAGE DESIGN
   ============================================ */

/* Override default screen styles for login */
#login-screen.screen {
    background: linear-gradient(135deg, #1abc9c 0%, #16a085 100%);
    min-height: 100vh;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

/* Animated Background Shapes */
.bg-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: floatShape 20s infinite ease-in-out;
}

.shape-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}

.shape-2 {
    width: 400px;
    height: 400px;
    bottom: -150px;
    left: -150px;
    animation-delay: 7s;
}

.shape-3 {
    width: 300px;
    height: 300px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 14s;
}

@keyframes floatShape {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

/* Main Login Container */
.modern-login-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: white;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 1200px;
    min-height: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* ============================================
   LEFT SIDE - LOGIN FORM
   ============================================ */

.login-left-side {
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: white;
}

.login-form-content {
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
}

/* Brand Section */
.brand-section {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
}

.login-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.brand-text-info {
    flex: 1;
}

.company-name {
    font-size: 28px;
    font-weight: bold;
    color: #1abc9c;
    margin: 0;
    line-height: 1.2;
}

.company-tagline {
    font-size: 14px;
    color: #16a085;
    margin: 5px 0 0 0;
}

/* Welcome Text */
.welcome-heading {
    font-size: 32px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
}

.welcome-description {
    font-size: 15px;
    color: #7f8c8d;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Override default input group styles for modern login */
#login-screen .input-group {
    position: relative;
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

#login-screen .input-group:focus-within {
    border-color: #1abc9c;
    box-shadow: 0 0 0 4px rgba(26, 188, 156, 0.1);
}

.input-icon-wrapper {
    padding: 0 15px;
    color: #95a5a6;
    font-size: 18px;
    display: flex;
    align-items: center;
}

#login-screen .input-group input {
    flex: 1;
    padding: 16px 15px 16px 0;
    border: none;
    background: transparent;
    font-size: 15px;
    color: #2c3e50;
    outline: none;
}

#login-screen .input-group input::placeholder {
    color: #bdc3c7;
}

/* Show/Hide Password Toggle */
.password-toggle {
    position: absolute;
    right: 15px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 600;
    color: #1abc9c;
    transition: all 0.3s ease;
}

.password-toggle:hover {
    color: #16a085;
}

/* Login Button Override */
#login-screen .login-submit {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
    border: none;
    padding: 16px 30px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
    margin-top: 10px;
    width: 100%;
}

#login-screen .login-submit:hover {
    background: linear-gradient(135deg, #e67e22, #d35400);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.4);
}

#login-screen .login-submit:active {
    transform: translateY(0);
}

/* Switch Form Link */
#login-screen .switch-form {
    text-align: center;
    margin-top: 15px;
}

#login-screen .switch-form a {
    color: #1abc9c;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

#login-screen .switch-form a:hover {
    color: #16a085;
    text-decoration: underline;
}

/* ============================================
   RIGHT SIDE - REGISTRATION/FEATURES
   ============================================ */

.login-right-side {
    background: linear-gradient(135deg, #1abc9c 0%, #16a085 100%);
    padding: 60px 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.login-right-side::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulseGlow 15s infinite;
}

@keyframes pulseGlow {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.5; }
}

.right-side-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    max-width: 400px;
}

.feature-icon-circle {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.right-side-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.right-side-description {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
    opacity: 0.95;
}

/* Sign Up Button */
.btn-signup {
    background: white;
    color: #1abc9c;
    border: none;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin-top: 20px;
    width: 100%;
    max-width: 200px;
}

.btn-signup:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn-signup:active {
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 968px) {
    .modern-login-container {
        grid-template-columns: 1fr; /* Stack on mobile */
    }
    
    .login-right-side {
        display: none; /* Hide right side on mobile */
    }
    
    .login-left-side {
        padding: 40px 30px;
    }
    
    .login-form-content {
        max-width: 100%;
        padding: 0 20px;
    }
}