:root {
    --primary-color: #e67e22;
    --secondary-color: #2c3e50;
    --success-color: #27ae60;
    --info-color: #3498db;
    --warning-color: #f39c12;
    --danger-color: #e74c3c;
    --light-color: #f5f6fa;
    --dark-color: #2d3436;
    --gray-color: #bdc3c7;
    --text-color: #444;
    --border-color: #eaeaea;
    --sidebar-width: 250px;
    --sidebar-collapsed-width: 80px;
    --header-height: 60px;
    --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #f5f6fa;
    color: var(--text-color);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Raleway', sans-serif;
    color: var(--dark-color);
    font-weight: 600;
}

/* Dashboard Layout */
.dashboard-container {
    display: flex;
    min-height: 100vh;
    position: relative;
}

/* Sidebar */
.sidebar {
    width: var(--sidebar-width);
    height: 100vh;
    background-color: var(--secondary-color);
    color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    overflow-y: auto;
    z-index: 100;
    transition: var(--transition);
}

.sidebar-collapsed .sidebar {
    width: var(--sidebar-collapsed-width);
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
    color: #fff;
    font-size: 1.5rem;
    white-space: nowrap;
    overflow: hidden;
}

.logo span {
    color: var(--primary-color);
}

.toggle-sidebar {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1rem;
}

.sidebar-menu {
    padding: 1rem 0;
}

.sidebar-menu ul li {
    margin-bottom: 0.2rem;
}

.sidebar-menu ul li a {
    display: flex;
    align-items: center;
    padding: 0.8rem 1rem;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.sidebar-menu ul li a:hover,
.sidebar-menu ul li.active a {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-left-color: var(--primary-color);
}

.sidebar-menu i {
    margin-right: 0.8rem;
    font-size: 1.1rem;
    min-width: 20px;
    text-align: center;
}

.sidebar-collapsed .sidebar-menu span {
    display: none;
}

.sidebar-collapsed .sidebar-menu i {
    margin-right: 0;
    font-size: 1.3rem;
}

.sidebar-collapsed .sidebar-menu a {
    padding: 0.8rem;
    justify-content: center;
}

.sidebar-collapsed .logo span {
    display: none;
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    transition: var(--transition);
}

.sidebar-collapsed .main-content {
    margin-left: var(--sidebar-collapsed-width);
}

/* Top Bar */
.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    height: var(--header-height);
    background-color: #fff;
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 99;
}

.search-bar {
    display: flex;
    align-items: center;
    background-color: var(--light-color);
    border-radius: 4px;
    padding: 0.5rem 1rem;
    width: 300px;
}

.search-bar i {
    color: var(--gray-color);
    margin-right: 0.5rem;
}

.search-bar input {
    border: none;
    background: transparent;
    outline: none;
    color: var(--text-color);
    width: 100%;
    font-family: 'Montserrat', sans-serif;
}

.user-menu {
    display: flex;
    align-items: center;
}

.notifications {
    position: relative;
    margin-right: 1.5rem;
}

.notifications button {
    background: transparent;
    border: none;
    color: var(--text-color);
    font-size: 1.1rem;
    position: relative;
}

.badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--danger-color);
    color: #fff;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-profile {
    position: relative;
}

.user-profile button {
    display: flex;
    align-items: center;
    background: transparent;
    border: none;
    color: var(--text-color);
}

.user-profile img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 0.8rem;
}

.user-profile span {
    margin-right: 0.5rem;
    font-weight: 500;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: var(--box-shadow);
    width: 250px;
    z-index: 1000;
    overflow: hidden;
    margin-top: 0.5rem;
}

.dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.dropdown-header h4 {
    margin: 0;
    font-size: 1rem;
}

.dropdown-header a {
    color: var(--primary-color);
    font-size: 0.8rem;
}

.dropdown-body {
    max-height: 300px;
    overflow-y: auto;
}

.dropdown-body.empty {
    padding: 1.5rem;
    text-align: center;
    color: var(--gray-color);
}

.dropdown-footer {
    padding: 0.8rem 1rem;
    text-align: center;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
}

.dropdown-footer a {
    color: var(--primary-color);
}

.dropdown-item {
    display: flex;
    align-items: center;
    padding: 0.8rem 1rem;
    color: var(--text-color);
    transition: background-color 0.2s;
}

.dropdown-item:hover {
    background-color: var(--light-color);
}

.dropdown-item i {
    margin-right: 0.8rem;
    color: var(--primary-color);
    font-size: 1rem;
}

.dropdown-divider {
    height: 1px;
    background-color: var(--border-color);
    margin: 0.5rem 0;
}

.notification-item {
    display: flex;
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-item .icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(52, 152, 219, 0.1);
    color: var(--info-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.notification-item .icon.success {
    background-color: rgba(39, 174, 96, 0.1);
    color: var(--success-color);
}

.notification-item .icon.warning {
    background-color: rgba(243, 156, 18, 0.1);
    color: var(--warning-color);
}

.notification-item .icon.danger {
    background-color: rgba(231, 76, 60, 0.1);
    color: var(--danger-color);
}

.notification-item .content p {
    margin: 0 0 0.3rem;
    font-size: 0.9rem;
}

.notification-item .content small {
    color: var(--gray-color);
    font-size: 0.8rem;
}

/* Content Wrapper */
.content-wrapper {
    padding: 1.5rem;
}

/* Page Header */
.page-header {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-header h1 {
    font-size: 1.8rem;
    margin-bottom: 0.3rem;
}

.page-header p {
    color: var(--gray-color);
}

/* Dashboard Stat Cards */
.stat-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.stat-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.5rem;
    color: #fff;
}

.card-icon.blue {
    background-color: var(--info-color);
}

.card-icon.green {
    background-color: var(--success-color);
}

.card-icon.orange {
    background-color: var(--primary-color);
}

.card-icon.purple {
    background-color: #9b59b6;
}

.card-data {
    flex: 1;
}

.card-data h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--gray-color);
    font-weight: 500;
}

.card-data .count {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: var(--dark-color);
}

.card-data .change {
    font-size: 0.8rem;
    display: flex;
    align-items: center;
}

.change.increase {
    color: var(--success-color);
}

.change.decrease {
    color: var(--danger-color);
}

.change i {
    margin-right: 0.3rem;
}

/* Dashboard Cards & Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.dashboard-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.card-header h3 {
    font-size: 1.1rem;
    margin: 0;
}

.card-header a {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 500;
}

.card-body {
    padding: 1.5rem;
}

/* Data Tables */
.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.data-table th {
    font-weight: 600;
    color: var(--dark-color);
    background-color: var(--light-color);
}

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

.data-table tr:hover {
    background-color: rgba(245, 246, 250, 0.5);
}

.status-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.status-badge.new {
    background-color: rgba(52, 152, 219, 0.1);
    color: var(--info-color);
}

.status-badge.contacted {
    background-color: rgba(241, 196, 15, 0.1);
    color: #f1c40f;
}

.status-badge.qualified {
    background-color: rgba(230, 126, 34, 0.1);
    color: var(--primary-color);
}

.status-badge.proposal {
    background-color: rgba(155, 89, 182, 0.1);
    color: #9b59b6;
}

.status-badge.negotiation {
    background-color: rgba(41, 128, 185, 0.1);
    color: #2980b9;
}

.status-badge.converted {
    background-color: rgba(39, 174, 96, 0.1);
    color: var(--success-color);
}

.status-badge.closed-lost {
    background-color: rgba(231, 76, 60, 0.1);
    color: var(--danger-color);
}

.status-badge.active {
    background-color: rgba(39, 174, 96, 0.1);
    color: var(--success-color);
}

.status-badge.pending {
    background-color: rgba(241, 196, 15, 0.1);
    color: #f1c40f;
}

.status-badge.on-hold {
    background-color: rgba(52, 152, 219, 0.1);
    color: var(--info-color);
}

.status-badge.completed {
    background-color: rgba(44, 62, 80, 0.1);
    color: var(--secondary-color);
}

.action-buttons {
    display: flex;
    gap: 0.5rem;
}

.btn-icon {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-color);
    border: none;
    color: var(--text-color);
    transition: var(--transition);
}

.btn-icon:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* Appointment List */
.appointment-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.appointment-item {
    display: flex;
    align-items: flex-start;
    background-color: var(--light-color);
    border-radius: 8px;
    overflow: hidden;
}

.appointment-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: #fff;
    padding: 1rem;
    min-width: 80px;
}

.appointment-date .day {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1;
}

.appointment-date .month {
    font-size: 0.9rem;
    text-transform: uppercase;
}

.appointment-details {
    padding: 1rem;
    flex: 1;
}

.appointment-details h4 {
    margin-bottom: 0.3rem;
    font-size: 1rem;
}

.appointment-details p {
    margin: 0;
    color: var(--text-color);
    font-size: 0.9rem;
}

.appointment-details .time,
.appointment-details .location {
    display: flex;
    align-items: center;
    margin-top: 0.5rem;
    color: var(--gray-color);
}

.appointment-details i {
    margin-right: 0.5rem;
    font-size: 0.9rem;
}

/* Project Cards */
.project-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.project-card {
    background-color: var(--light-color);
    border-radius: 8px;
    padding: 1.5rem;
}

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

.project-header h4 {
    font-size: 1.1rem;
    margin: 0;
}

.project-client {
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.project-client span {
    font-weight: 600;
    color: var(--dark-color);
}

.project-dates {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.project-dates div span {
    font-weight: 600;
    color: var(--dark-color);
}

.project-progress {
    margin-bottom: 1rem;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.progress-bar {
    height: 6px;
    background-color: #ddd;
    border-radius: 3px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background-color: var(--primary-color);
}

.project-team {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.project-team span:first-child {
    font-weight: 600;
    color: var(--dark-color);
    margin-right: 0.5rem;
}

.team-avatars {
    display: flex;
}

.team-avatars .avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    margin-left: -8px;
    border: 2px solid var(--light-color);
}

.team-avatars .avatar:first-child {
    margin-left: 0;
}

/* Filter Controls */
.filter-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    margin-bottom: 1.5rem;
}

.search-field {
    display: flex;
    align-items: center;
    width: 300px;
    background-color: var(--light-color);
    border-radius: 4px;
    padding: 0.5rem 1rem;
}

.search-field i {
    color: var(--gray-color);
    margin-right: 0.5rem;
}

.search-field input {
    border: none;
    background: transparent;
    outline: none;
    color: var(--text-color);
    width: 100%;
    font-family: 'Montserrat', sans-serif;
}

.filter-options {
    display: flex;
    gap: 1rem;
}

.filter-options select {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background-color: #fff;
    color: var(--text-color);
    font-family: 'Montserrat', sans-serif;
    outline: none;
}

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1.5rem;
}

.pagination button {
    width: 36px;
    height: 36px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border: 1px solid var(--border-color);
    color: var(--text-color);
    transition: var(--transition);
}

.pagination button:hover:not(:disabled) {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-info {
    margin: 0 1rem;
    font-size: 0.9rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.primary-btn {
    background-color: var(--primary-color);
    color: #fff;
}

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

.secondary-btn {
    background-color: var(--secondary-color);
    color: #fff;
}

.secondary-btn:hover {
    background-color: #1c2833;
}

.outline-btn {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.outline-btn:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* Data Grid */
.data-grid {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

/* Placeholder Message */
.placeholder-message {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--gray-color);
}

.placeholder-message i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.placeholder-message h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.placeholder-message p {
    max-width: 600px;
    margin: 0 auto;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #fff;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    margin: 0;
    font-size: 1.2rem;
}

.close-btn {
    background: transparent;
    border: none;
    font-size: 1.2rem;
    color: var(--gray-color);
    transition: color 0.2s;
}

.close-btn:hover {
    color: var(--danger-color);
}

.modal-body {
    padding: 1.5rem;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: flex;
    gap: 1rem;
}

.form-row .form-group {
    flex: 1;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 1rem;
}

/* Lead Details */
.lead-details {
    margin-bottom: 1.5rem;
}

.lead-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.lead-header h4 {
    font-size: 1.3rem;
    margin: 0;
}

.detail-section {
    margin-bottom: 1.5rem;
}

.detail-section h5 {
    margin-bottom: 1rem;
    font-size: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.detail-item {
    display: flex;
    margin-bottom: 0.5rem;
}

.detail-item .label {
    min-width: 100px;
    font-weight: 600;
    color: var(--dark-color);
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline:before {
    content: '';
    position: absolute;
    left: 7px;
    top: 0;
    height: 100%;
    width: 2px;
    background-color: var(--border-color);
}

.timeline-item {
    position: relative;
    padding-bottom: 1.5rem;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-icon {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--info-color);
    position: absolute;
    left: -23px;
    top: 2px;
    z-index: 1;
}

.timeline-icon.note {
    background-color: var(--info-color);
}

.timeline-icon.call {
    background-color: var(--primary-color);
}

.timeline-icon.email {
    background-color: var(--secondary-color);
}

.timeline-icon.meeting {
    background-color: var(--success-color);
}

.timeline-icon.status {
    background-color: var(--warning-color);
}

.timeline-content h6 {
    margin: 0 0 0.5rem;
    font-size: 0.9rem;
}

.timeline-content p {
    margin: 0 0 0.3rem;
    font-size: 0.9rem;
}

.timeline-content small {
    color: var(--gray-color);
    font-size: 0.8rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .project-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .sidebar {
        position: fixed;
        left: -100%;
        z-index: 1001;
    }
    
    .sidebar.active {
        left: 0;
    }
    
    .main-content {
        margin-left: 0 !important;
    }
    
    .stat-cards {
        grid-template-columns: 1fr;
    }
    
    .project-cards {
        grid-template-columns: 1fr;
    }
    
    .filter-controls {
        flex-direction: column;
        gap: 1rem;
    }
    
    .search-field {
        width: 100%;
    }
    
    .filter-options {
        width: 100%;
        flex-wrap: wrap;
    }
    
    .filter-options select {
        flex: 1;
    }
}

@media (max-width: 576px) {
    .topbar {
        padding: 0 1rem;
    }
    
    .user-profile span {
        display: none;
    }
    
    .page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .data-table th,
    .data-table td {
        padding: 0.8rem 0.5rem;
    }
    
    .action-buttons {
        flex-direction: column;
        gap: 0.3rem;
    }
}

/* Login Page Styles */
.login-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #34495e 100%);
    padding: 20px;
}

.login-form {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 400px;
    padding: 40px;
    text-align: center;
}

.login-form .logo {
    margin-bottom: 20px;
}

.login-form .logo h1 {
    font-size: 2rem;
    color: var(--dark-color);
}

.login-form .logo span {
    color: var(--primary-color);
}

.login-form h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.login-form > p {
    color: var(--gray-color);
    margin-bottom: 30px;
}

.login-form .form-group {
    margin-bottom: 20px;
    text-align: left;
}

.login-form .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.login-form .input-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}

.login-form .input-wrapper i {
    padding: 12px;
    background-color: var(--light-color);
    color: var(--gray-color);
    border-right: 1px solid var(--border-color);
}

.login-form .input-wrapper input {
    flex: 1;
    padding: 12px;
    border: none;
    outline: none;
    font-family: 'Montserrat', sans-serif;
}

.login-form .input-wrapper:focus-within {
    border-color: var(--primary-color);
}

.login-form .error-message {
    color: var(--danger-color);
    margin-bottom: 15px;
    padding: 10px;
    background-color: rgba(231, 76, 60, 0.1);
    border-radius: 4px;
    font-size: 0.9rem;
}

.login-form button[type="submit"] {
    margin-top: 10px;
    padding: 12px;
}

.login-form button[type="submit"]:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.login-footer {
    margin-top: 20px;
    font-size: 0.8rem;
    color: var(--gray-color);
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner {
    background-color: var(--primary-color);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--box-shadow);
}