/* Global & Reset Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f8fbff;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Top Bar */
.top-bar {
    background-color: #0f172a;
    color: #fff;
    padding: 8px 0;
    font-size: 13px;
}

.top-info span {
    margin-right: 20px;
}

.top-info i {
    color: #ff6600;
    margin-right: 5px;
}

.top-social a {
    color: #fff;
    margin-left: 15px;
    transition: 0.3s;
    text-decoration: none;
}

.top-social a:hover {
    color: #ff6600;
}

/* Header / Navbar */
.dash-top-nav {
    background: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 40px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.dash-logo h2 {
    font-size: 24px;
    color: #111;
    cursor: pointer;
}

.dash-logo h2 span {
    color: #ff6600;
}

.dash-nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
}

.dash-nav-links a {
    text-decoration: none;
    color: #475569;
    font-weight: 500;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: 0.3s;
    cursor: pointer;
}

.dash-nav-links a:hover, .dash-nav-links a.active {
    color: #ff6600;
}

.dash-btn {
    background-color: #ff6600 !important;
    color: #fff !important;
    padding: 8px 22px;
    border-radius: 30px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(255, 102, 0, 0.3);
    cursor: pointer;
    border: none;
    text-decoration: none;
}

/* Hero Section */
.hero-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fbff 0%, #eef4ff 100%);
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 45px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content h1 span {
    color: #ff6600;
}

.hero-content p {
    font-size: 16px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn-primary {
    background-color: #ff6600;
    color: #fff;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
    transition: 0.3s;
    display: inline-block;
    cursor: pointer;
    border: none;
}

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

.btn-secondary {
    background-color: transparent;
    color: #0f172a;
    border: 2px solid #0f172a;
    padding: 10px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    display: inline-block;
    cursor: pointer;
}

.btn-secondary:hover {
    background-color: #0f172a;
    color: #fff;
}

.hero-image {
    flex: 1;
}

.hero-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

/* Domain Search Section */
.domain-search-section {
    padding: 60px 0;
    background: #ffffff;
    text-align: center;
}

.section-title {
    margin-bottom: 30px;
    text-align: center;
}

.section-title h2 {
    font-size: 30px;
    color: #0f172a;
    margin-bottom: 10px;
}

.section-title p {
    color: #64748b;
}

.search-box-container form, .search-box-container .search-form {
    display: flex;
    justify-content: center;
    max-width: 650px;
    margin: 0 auto;
    gap: 10px;
}

.search-box-container input {
    flex: 1;
    padding: 12px 20px;
    border: 1px solid #cbd5e1;
    border-radius: 30px;
    outline: none;
    font-size: 16px;
}

.search-box-container input:focus {
    border-color: #ff6600;
}

/* Services / Hosting Section */
.services-section {
    padding: 80px 0;
    background-color: #f8fbff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    width: 100%;
}

.service-box {
    background: #ffffff;
    padding: 35px 25px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.service-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border-color: #ff6600;
}

.service-box i {
    font-size: 40px;
    color: #ff6600;
    margin-bottom: 20px;
}

.service-box h3 {
    font-size: 20px;
    color: #0f172a;
    margin-bottom: 15px;
}

.service-box p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
}

.service-box .price {
    font-size: 22px;
    font-weight: bold;
    color: #ff6600;
    margin: 15px 0;
}

/* Auth Section (Login & Register) */
.auth-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 65px);
    padding: 30px 15px;
    background-color: #f4f6f9;
}

.auth-card {
    display: flex;
    background: #ffffff;
    width: 1000px;
    max-width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid #f1f5f9;
}

.auth-left {
    flex: 1;
    background: url('https://images.unsplash.com/photo-1560250097-0b93528c311a?auto=format&fit=crop&w=800&q=80') center/cover no-repeat;
    position: relative;
    min-height: 480px;
}

.auth-left.register-bg {
    background: url('https://images.unsplash.com/photo-1519389950473-47ba0277781c?auto=format&fit=crop&w=800&q=80') center/cover no-repeat;
}

.auth-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 30px;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent);
    color: #fff;
}

.auth-overlay h2 {
    font-size: 26px;
    margin-bottom: 8px;
}

.auth-overlay p {
    font-size: 14px;
    color: #cbd5e1;
}

.auth-right {
    flex: 1;
    padding: 45px 40px;
}

.auth-right h2 {
    font-size: 24px;
    color: #0f172a;
    margin-bottom: 5px;
}

.auth-right .subtitle {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 25px;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 6px;
}

.input-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: 0.3s;
}

.input-group input:focus {
    border-color: #ff6600;
    box-shadow: 0 0 5px rgba(255, 102, 0, 0.2);
}

.password-wrapper {
    position: relative;
}

.password-wrapper i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #64748b;
}

.forgot-pass {
    text-align: right;
    margin-bottom: 20px;
}

.forgot-pass a {
    text-decoration: none;
    font-size: 13px;
    color: #64748b;
    cursor: pointer;
}

.forgot-pass a:hover {
    color: #ff6600;
}

.auth-btn {
    width: 100%;
    background-color: #ff6600;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.3);
}

.auth-btn:hover {
    background-color: #e55b00;
}

.auth-footer {
    text-align: center;
    margin-top: 25px;
    border-top: 1px dashed #e2e8f0;
    padding-top: 20px;
}

.auth-footer p {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 5px;
}

.auth-footer a {
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    color: #7c3aed;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.error-msg {
    background: #fee2e2;
    color: #991b1b;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 13px;
    text-align: center;
}

/* Contact Page */
.contact-section {
    padding: 60px 0;
    background: #f8fbff;
}

.contact-container {
    display: flex;
    gap: 40px;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info, .contact-form-box {
    flex: 1;
    background: #ffffff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.contact-info h2, .contact-form-box h2 {
    color: #0f172a;
    margin-bottom: 15px;
}

.contact-info p {
    color: #64748b;
    margin-bottom: 30px;
}

.info-box {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.info-box i {
    font-size: 24px;
    color: #ff6600;
    background: #fff3ed;
    padding: 15px;
    border-radius: 50%;
}

.info-box h4 {
    color: #0f172a;
    font-size: 16px;
    margin-bottom: 3px;
}

.info-box p {
    color: #64748b;
    margin: 0;
    font-size: 14px;
}

.contact-form-box .form-group {
    margin-bottom: 20px;
}

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

.contact-form-box input, 
.contact-form-box textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    outline: none;
    font-size: 14px;
}

.contact-form-box input:focus, 
.contact-form-box textarea:focus {
    border-color: #ff6600;
}

.success-msg {
    background: #d1fae5;
    color: #065f46;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 14px;
}

/* Dashboard Styles */
.dash-wrapper {
    display: flex;
    min-height: calc(100vh - 65px);
}

.dash-sidebar {
    width: 280px;
    background: #ffffff;
    border-right: 1px solid #e2e8f0;
    padding: 30px 20px;
}

.user-profile {
    text-align: center;
    padding-bottom: 25px;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 20px;
}

.avatar-icon {
    width: 75px;
    height: 75px;
    background: #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px auto;
    font-size: 35px;
    color: #64748b;
    border: 3px solid #f1f5f9;
}

.user-profile h3 {
    font-size: 16px;
    color: #0f172a;
    margin-bottom: 5px;
    font-weight: 700;
}

.client-badge {
    background: #e0f2fe;
    color: #0284c7;
    font-size: 12px;
    padding: 3px 14px;
    border-radius: 12px;
    font-weight: 600;
    display: inline-block;
}

.dash-menu {
    list-style: none;
}

.dash-menu li {
    margin-bottom: 8px;
}

.dash-menu li a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 18px;
    text-decoration: none;
    color: #475569;
    font-weight: 500;
    border-radius: 10px;
    transition: 0.2s;
    cursor: pointer;
}

.dash-menu li a i {
    font-size: 16px;
    color: #64748b;
    width: 20px;
    text-align: center;
}

.dash-menu li a:hover, .dash-menu li a.active {
    background: #f1f5f9;
    color: #0f172a;
}

.dash-menu li a.active {
    background: #eef2ff;
    color: #2563eb;
    font-weight: 600;
}

.dash-menu li a.active i {
    color: #2563eb;
}

.logout-link {
    color: #dc2626 !important;
    margin-top: 20px;
    border-top: 1px dashed #e2e8f0;
    padding-top: 15px !important;
}
.logout-link i {
    color: #dc2626 !important;
}

.dash-content {
    flex: 1;
    padding: 35px;
    background-color: #f8fbff;
}

.welcome-banner {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    padding: 35px 40px;
    border-radius: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.25);
}

.banner-text h2 {
    font-size: 26px;
    margin-bottom: 8px;
    font-weight: 700;
}

.banner-text p {
    font-size: 14px;
    color: #e2e8f0;
}

.banner-icon {
    font-size: 70px;
    color: rgba(255, 255, 255, 0.25);
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
    border: 1px solid #f1f5f9;
}

.stat-icon-bg {
    width: 55px;
    height: 55px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.stat-info p {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 5px;
    font-weight: 500;
}

.stat-info h2 {
    font-size: 24px;
    color: #0f172a;
    font-weight: 700;
}

.recent-orders-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
    border: 1px solid #f1f5f9;
}

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

.card-header-flex h3 {
    font-size: 18px;
    color: #0f172a;
    font-weight: 700;
}

.see-all-btn {
    text-decoration: none;
    font-size: 13px;
    color: #2563eb;
    font-weight: 600;
    background: #eff6ff;
    padding: 6px 14px;
    border-radius: 6px;
    transition: 0.2s;
    cursor: pointer;
}

.see-all-btn:hover {
    background: #dbeafe;
}

.table-responsive {
    overflow-x: auto;
}

.styled-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.styled-table th {
    font-size: 12px;
    color: #64748b;
    font-weight: 600;
    padding: 14px 12px;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
    letter-spacing: 0.5px;
}

.styled-table td {
    padding: 16px 12px;
    font-size: 14px;
    color: #334155;
    border-bottom: 1px solid #f1f5f9;
}

.status-badge {
    background: #dcfce7;
    color: #16a34a;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status-badge.pending {
    background: #fef3c7;
    color: #d97706;
}

.invoice-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
}

.invoice-link:hover {
    text-decoration: underline;
}

.no-data {
    text-align: center;
    padding: 50px;
    color: #94a3b8;
}

.no-data i {
    font-size: 45px;
    margin-bottom: 12px;
    color: #cbd5e1;
}

.no-data p {
    font-size: 14px;
    margin: 0;
    color: #64748b;
}

/* Admin Dashboard */
.dashboard {
    width: 90%;
    max-width: 1100px;
    margin: 40px auto;
    background: #fff;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

.dashboard h2 {
    color: #0f172a;
    font-size: 24px;
    margin-bottom: 10px;
}

.dashboard h3 {
    color: #0f172a;
    font-size: 18px;
    margin: 25px 0 15px 0;
}

.logout-btn {
    background: #dc3545;
    color: white;
    padding: 8px 18px;
    text-decoration: none;
    border-radius: 6px;
    float: right;
    font-weight: 600;
    cursor: pointer;
    border: none;
}

.logout-btn:hover {
    background: #b91c1c;
}

.admin-form {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 15px;
    margin-bottom: 30px;
    align-items: center;
}

.admin-form input {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    outline: none;
    font-size: 14px;
}

.admin-form input:focus {
    border-color: #ff6600;
}

.admin-form .btn {
    background: #ff6600;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    white-space: nowrap;
}

.admin-form .btn:hover {
    background: #e55b00;
}

table.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

table.admin-table th, table.admin-table td {
    border: 1px solid #e2e8f0;
    padding: 12px 15px;
    text-align: left;
}

table.admin-table th {
    background: #0f172a;
    color: white;
    font-size: 14px;
}

/* Footer */
footer {
    background: #0f172a;
    color: #fff;
    text-align: center;
    padding: 25px 0;
    margin-top: 50px;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    .hero-buttons {
        justify-content: center;
    }
    .top-bar {
        display: none;
    }
    .dash-top-nav {
        padding: 12px 20px;
    }
    .dash-wrapper {
        flex-direction: column;
    }
    .dash-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
    }
    .auth-card {
        flex-direction: column;
        width: 100%;
    }
    .auth-left {
        min-height: 200px;
    }
    .contact-container {
        flex-direction: column;
    }
    .admin-form {
        grid-template-columns: 1fr;
    }
}
