/* ===== ADMIN PANEL STYLES ===== */

/* Admin Login Page */
.admin-body {
    background: linear-gradient(135deg, #0F1B37 0%, #1A2B4D 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    font-family: 'Open Sans', sans-serif;
}

.admin-login-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 1200px;
    width: 100%;
}

@media (min-width: 992px) {
    .admin-login-container {
        grid-template-columns: 1fr 1fr;
    }
}

.admin-login-box {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.admin-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.admin-logo .logo-text {
    font-size: 2.5rem;
    color: #0F1B37;
    font-weight: 800;
}

.admin-logo .logo-tagline {
    color: #6C757D;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-top: 5px;
}

.login-header h2 {
    color: #0F1B37;
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.login-header p {
    color: #6C757D;
    margin-bottom: 2rem;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #0F1B37;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group label i {
    color: #00AEEF;
}

.form-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #E9ECEF;
    border-radius: 8px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #00AEEF;
    box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.1);
}

.password-input {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6C757D;
    cursor: pointer;
    padding: 0.25rem;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: #6C757D;
}

.checkbox-label input {
    width: auto;
}

.forgot-password {
    color: #00AEEF;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #FF6B35;
}

/* Buttons */
.btn-login {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #FF6B35 0%, #FF8B35 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 107, 53, 0.3);
}

.login-footer {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #E9ECEF;
    text-align: center;
    font-size: 0.9rem;
    color: #6C757D;
}

.login-footer p {
    margin-bottom: 0.5rem;
}

.security-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #28A745;
    font-weight: 600;
    margin-top: 1rem;
}

/* Recovery Form */
.recovery-form-section {
    display: none;
}

.recovery-header {
    margin-bottom: 2rem;
}

.back-to-login {
    background: none;
    border: none;
    color: #00AEEF;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 0;
}

.btn-recovery {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #00AEEF 0%, #0088CC 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-recovery:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 174, 239, 0.3);
}

/* Admin Info Panel */
.admin-login-info {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-login-info h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.admin-login-info ul {
    list-style: none;
    margin-bottom: 2rem;
}

.admin-login-info li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.admin-login-info li i {
    color: #FF6B35;
}

.security-info {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 2rem;
}

.security-info h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: #FF6B35;
}

.security-info p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Admin Dashboard Styles */
.admin-dashboard {
    display: grid;
    grid-template-columns: 250px 1fr;
    min-height: 100vh;
    background-color: #F8F9FA;
}

/* Sidebar */
.admin-sidebar {
    background-color: #0F1B37;
    color: white;
    padding: 2rem 0;
}

.sidebar-header {
    padding: 0 1.5rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-menu {
    list-style: none;
    padding: 1rem 0;
}

.sidebar-menu li {
    margin-bottom: 0.25rem;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-left: 4px solid #FF6B35;
}

.sidebar-menu i {
    width: 20px;
    text-align: center;
}

/* Main Content */
.admin-main {
    padding: 2rem;
    overflow-y: auto;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #E9ECEF;
}

.admin-title h1 {
    font-size: 1.8rem;
    color: #0F1B37;
    margin-bottom: 0.25rem;
}

.admin-title p {
    color: #6C757D;
    font-size: 0.9rem;
}

.admin-user {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-avatar {
    width: 40px;
    height: 40px;
    background-color: #00AEEF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
}

.user-info {
    text-align: right;
}

.user-name {
    font-weight: 600;
    color: #0F1B37;
}

.user-role {
    font-size: 0.8rem;
    color: #6C757D;
}

/* Dashboard Stats */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background-color: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-left: 4px solid;
}

.stat-card.leads {
    border-left-color: #00AEEF;
}

.stat-card.revenue {
    border-left-color: #28A745;
}

.stat-card.projects {
    border-left-color: #FF6B35;
}

.stat-card.clients {
    border-left-color: #6F42C1;
}

.stat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.stat-card.leads .stat-icon {
    background-color: #00AEEF;
}

.stat-card.revenue .stat-icon {
    background-color: #28A745;
}

.stat-card.projects .stat-icon {
    background-color: #FF6B35;
}

.stat-card.clients .stat-icon {
    background-color: #6F42C1;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #0F1B37;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: #6C757D;
    margin-top: 0.25rem;
}

.stat-change {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.stat-change.positive {
    color: #28A745;
}

.stat-change.negative {
    color: #DC3545;
}

/* Dashboard Content */
.dashboard-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
}

@media (max-width: 992px) {
    .dashboard-content {
        grid-template-columns: 1fr;
    }
}

.content-card {
    background-color: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #E9ECEF;
}

.card-header h3 {
    font-size: 1.2rem;
    color: #0F1B37;
    margin: 0;
}

.card-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-icon {
    background: none;
    border: 1px solid #E9ECEF;
    border-radius: 5px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #6C757D;
    transition: all 0.3s ease;
}

.btn-icon:hover {
    background-color: #F8F9FA;
    color: #0F1B37;
}

/* Table Styles */
.table-responsive {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th {
    text-align: left;
    padding: 0.75rem;
    background-color: #F8F9FA;
    color: #0F1B37;
    font-weight: 600;
    font-size: 0.9rem;
    border-bottom: 2px solid #E9ECEF;
}

.data-table td {
    padding: 0.75rem;
    border-bottom: 1px solid #E9ECEF;
    font-size: 0.9rem;
}

.data-table tr:hover {
    background-color: #F8F9FA;
}

.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-active {
    background-color: #D4EDDA;
    color: #155724;
}

.status-pending {
    background-color: #FFF3CD;
    color: #856404;
}

.status-completed {
    background-color: #D1ECF1;
    color: #0C5460;
}

/* Activity Feed */
.activity-list {
    list-style: none;
}

.activity-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #E9ECEF;
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.activity-icon.login {
    background-color: #00AEEF;
}

.activity-icon.payment {
    background-color: #28A745;
}

.activity-icon.project {
    background-color: #FF6B35;
}

.activity-icon.update {
    background-color: #6F42C1;
}

.activity-content {
    flex: 1;
}

.activity-title {
    font-weight: 600;
    color: #0F1B37;
    margin-bottom: 0.25rem;
}

.activity-desc {
    font-size: 0.9rem;
    color: #6C757D;
    margin-bottom: 0.25rem;
}

.activity-time {
    font-size: 0.8rem;
    color: #6C757D;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: white;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid #E9ECEF;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    color: #0F1B37;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #6C757D;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    padding: 1.5rem;
    border-top: 1px solid #E9ECEF;
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-success {
    color: #28A745;
}

.text-warning {
    color: #FFC107;
}

.text-danger {
    color: #DC3545;
}

.bg-light {
    background-color: #F8F9FA;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }