/**
 * Pak Legal Desk – Main Styles
 * 
 * Theme: Pak Legal Desk
 * Version: 1.0
 * Author: Pak Legal Desk
 */

/* ============================================
   RESET & BASE
   ============================================ */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: #fafafa;
    color: #1a1a2e;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: #0095f6;
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: #0077c2;
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    color: #1a1a2e;
    font-weight: 600;
    line-height: 1.3;
}

ul, ol {
    padding-left: 20px;
}

/* ============================================
   CONTAINERS & LAYOUT
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-sm {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-lg {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 60px 0;
}

.section-title {
    font-size: 28px;
    font-weight: 300;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.section-subtitle {
    font-size: 16px;
    color: #8e8e8e;
    margin-bottom: 24px;
}

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

.section-header .view-all {
    color: #0095f6;
    font-weight: 600;
    text-decoration: none;
}

.section-header .view-all:hover {
    text-decoration: underline;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    line-height: 1.4;
}

.btn-primary {
    background: #0095f6;
    color: #fff;
}

.btn-primary:hover {
    background: #0077c2;
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 149, 246, 0.3);
}

.btn-secondary {
    background: #6c757d;
    color: #fff;
}

.btn-secondary:hover {
    background: #5a6268;
    color: #fff;
    text-decoration: none;
}

.btn-success {
    background: #34a853;
    color: #fff;
}

.btn-success:hover {
    background: #2d9249;
    color: #fff;
    text-decoration: none;
}

.btn-danger {
    background: #ed4956;
    color: #fff;
}

.btn-danger:hover {
    background: #d43b47;
    color: #fff;
    text-decoration: none;
}

.btn-outline {
    background: transparent;
    color: #1a1a2e;
    border: 2px solid #1a1a2e;
}

.btn-outline:hover {
    background: #1a1a2e;
    color: #fff;
    text-decoration: none;
}

.btn-outline-primary {
    background: transparent;
    color: #0095f6;
    border: 2px solid #0095f6;
}

.btn-outline-primary:hover {
    background: #0095f6;
    color: #fff;
    text-decoration: none;
}

.btn-sm {
    padding: 6px 14px;
    font-size: 13px;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 16px;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* ============================================
   CARDS
   ============================================ */
.card {
    background: #fff;
    border: 1px solid #dbdbdb;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.card-body {
    padding: 20px;
}

.card-header {
    padding: 16px 20px;
    border-bottom: 1px solid #efefef;
    background: #fafafa;
    font-weight: 600;
}

.card-footer {
    padding: 16px 20px;
    border-top: 1px solid #efefef;
    background: #fafafa;
}

/* ============================================
   FORMS
   ============================================ */
.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: #1a1a2e;
    margin-bottom: 4px;
}

.form-group .required {
    color: #ed4956;
    margin-left: 2px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #dbdbdb;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #0095f6;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 149, 246, 0.1);
}

.form-group input.error,
.form-group textarea.error,
.form-group select.error {
    border-color: #ed4956;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-group .help-text {
    font-size: 12px;
    color: #8e8e8e;
    margin-top: 4px;
}

.form-group .checkbox-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.form-group .checkbox-group label {
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

/* ============================================
   BADGES & STATUS
   ============================================ */
.badge {
    display: inline-block;
    padding: 2px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: capitalize;
}

.badge-primary {
    background: #cce5ff;
    color: #004085;
}

.badge-success {
    background: #d4edda;
    color: #155724;
}

.badge-warning {
    background: #fff3cd;
    color: #856404;
}

.badge-danger {
    background: #f8d7da;
    color: #721c24;
}

.badge-info {
    background: #d1ecf1;
    color: #0c5460;
}

.status-badge {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

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

.status-paid {
    background: #cce5ff;
    color: #004085;
}

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

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

.status-draft {
    background: #f0f0f0;
    color: #8e8e8e;
}

.status-cancelled {
    background: #e2e3e5;
    color: #383d41;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
/* Desktop Navigation */
.desktop-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    height: 54px;
    background: #ffffff;
    border-bottom: 1px solid #dbdbdb;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.desktop-nav .logo {
    font-family: 'Grand Hotel', cursive;
    font-size: 28px;
    color: #1a1a2e;
    text-decoration: none;
}

.desktop-nav .logo span {
    color: #0095f6;
}

.desktop-nav .search-form {
    display: flex;
    align-items: center;
    background: #fafafa;
    border: 1px solid #dbdbdb;
    border-radius: 4px;
    padding: 2px 10px;
}

.desktop-nav .search-form input {
    border: none;
    outline: none;
    background: transparent;
    width: 160px;
    font-size: 14px;
    padding: 4px 0;
}

.desktop-nav .search-form button {
    background: none;
    border: none;
    color: #8e8e8e;
    cursor: pointer;
    padding: 4px;
}

.desktop-nav .nav-icons {
    display: flex;
    gap: 22px;
    align-items: center;
}

.desktop-nav .nav-icons a,
.desktop-nav .nav-icons button {
    color: #1a1a2e;
    font-size: 24px;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
}

.desktop-nav .nav-icons a:hover,
.desktop-nav .nav-icons button:hover {
    color: #0095f6;
}

.desktop-nav .nav-icons .profile-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

/* Dropdowns */
.fowlstyle-dropdown {
    position: absolute;
    top: 60px;
    background: #fff;
    border: 1px solid #dbdbdb;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    width: 220px;
    z-index: 1100;
    padding: 8px 0;
    display: none;
}

.fowlstyle-dropdown.show {
    display: block !important;
}

.fowlstyle-dropdown .dropdown-header {
    padding: 8px 16px;
    font-weight: 600;
    border-bottom: 1px solid #efefef;
}

.fowlstyle-dropdown a {
    display: block;
    padding: 8px 16px;
    color: #1a1a2e;
    text-decoration: none;
    font-size: 14px;
}

.fowlstyle-dropdown a:hover {
    background: #fafafa;
    text-decoration: none;
}

.fowlstyle-dropdown .notification-item {
    padding: 8px 16px;
    border-bottom: 1px solid #efefef;
}

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

.fowlstyle-dropdown .notification-item small {
    color: #8e8e8e;
    font-size: 11px;
    display: block;
    margin-top: 2px;
}

.activity-dropdown {
    right: 80px;
}

.profile-dropdown {
    right: 20px;
}

/* Badges */
.badge-count {
    position: absolute;
    top: -6px;
    right: -8px;
    background: #ed4956;
    color: #fff;
    border-radius: 50%;
    font-size: 10px;
    line-height: 18px;
    text-align: center;
    width: 18px;
    height: 18px;
    font-weight: 600;
    display: none;
}

.badge-count.active {
    display: block;
}

.badge-count.online {
    background: #34a853;
    width: 10px;
    height: 10px;
    font-size: 0;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px #34a853;
    top: -4px;
    right: -6px;
    border-radius: 50%;
}

/* Mobile Header */
.pak-mobile-header {
    display: none;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;
    border-bottom: 1px solid #dbdbdb;
    height: 44px;
    align-items: center;
    padding: 0 12px;
    justify-content: space-between;
    box-sizing: border-box;
}

.mobile-hamburger {
    background: none;
    border: none;
    font-size: 22px;
    color: #1a1a2e;
    cursor: pointer;
    padding: 4px 8px;
}

.mobile-logo {
    font-family: 'Grand Hotel', cursive;
    font-size: 24px;
    color: #1a1a2e;
    text-decoration: none;
}

.mobile-logo span {
    color: #0095f6;
}

.mobile-header-icons {
    display: flex;
    gap: 16px;
    align-items: center;
}

.mobile-header-icons button,
.mobile-header-icons a {
    color: #1a1a2e;
    font-size: 22px;
    text-decoration: none;
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mobile-search-bar {
    display: none;
    padding: 8px 12px;
    background: #ffffff;
    border-bottom: 1px solid #dbdbdb;
}

.mobile-search-bar form {
    display: flex;
    align-items: center;
    background: #fafafa;
    border: 1px solid #dbdbdb;
    border-radius: 4px;
    padding: 4px 10px;
}

.mobile-search-bar form input {
    border: none;
    outline: none;
    background: transparent;
    flex: 1;
    font-size: 14px;
    padding: 6px 0;
}

.mobile-search-bar form button {
    background: none;
    border: none;
    color: #8e8e8e;
    cursor: pointer;
    padding: 0 4px;
}

.mobile-search-close {
    background: none;
    border: none;
    color: #8e8e8e;
    cursor: pointer;
    font-size: 18px;
    padding: 0 4px;
}

/* Mobile Slide Menu */
.mobile-slide-menu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    height: 100%;
    background: #ffffff;
    z-index: 10002;
    transition: left 0.3s ease;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    padding: 20px 0;
}

.mobile-slide-menu.open {
    left: 0 !important;
}

.slide-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 10001;
    display: none;
}

.slide-menu-overlay.active {
    display: block !important;
}

.slide-menu-header {
    display: flex;
    align-items: center;
    padding: 0 20px 16px;
    border-bottom: 1px solid #efefef;
    gap: 12px;
}

.slide-menu-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.slide-menu-name {
    font-weight: 600;
    font-size: 16px;
    display: block;
    color: #1a1a2e;
}

.slide-menu-username {
    font-size: 13px;
    color: #8e8e8e;
}

.slide-menu-nav a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 20px;
    color: #1a1a2e;
    text-decoration: none;
    font-size: 15px;
    border-bottom: 1px solid #f5f5f5;
}

.slide-menu-nav a i {
    width: 20px;
    text-align: center;
    font-size: 18px;
}

.slide-menu-nav a:hover {
    background: #f5f5f5;
    text-decoration: none;
}

.slide-menu-footer {
    padding: 16px 20px 0;
    border-top: 1px solid #efefef;
    margin-top: 10px;
    font-size: 12px;
    color: #8e8e8e;
}

/* Mobile Dock */
.pak-mobile-dock {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 49px;
    background: #ffffff;
    border-top: 1px solid #dbdbdb;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    padding: 0 10px;
    box-sizing: border-box;
}

.pak-mobile-dock a {
    color: #1a1a2e;
    font-size: 22px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.pak-mobile-dock a:hover {
    color: #0095f6;
}

.pak-mobile-dock .dock-profile img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #dbdbdb;
}

/* Mobile Notification Dropdown */
.mobile-notification-dropdown {
    position: fixed;
    top: 44px;
    right: 10px;
    width: 280px;
    max-height: 350px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #dbdbdb;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    padding: 8px 0;
    display: none;
}

.mobile-notification-dropdown.active {
    display: block !important;
}

.mobile-notification-dropdown a {
    display: block;
    padding: 8px 16px;
    color: #1a1a2e;
    text-decoration: none;
    font-size: 13px;
    border-bottom: 1px solid #efefef;
}

.mobile-notification-dropdown a small {
    color: #8e8e8e;
    font-size: 11px;
}

/* ============================================
   FOOTER
   ============================================ */
.pak-legal-footer {
    background: #fafafa;
    padding: 20px 0 30px;
    border-top: 1px solid #dbdbdb;
    margin-top: 40px;
}

.pak-legal-footer .footer-inner {
    max-width: 935px;
    margin: 0 auto;
    padding: 0 20px;
}

.pak-legal-footer .footer-nav {
    margin-bottom: 12px;
}

.pak-legal-footer .footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 16px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.pak-legal-footer .footer-links li {
    margin: 0;
}

.pak-legal-footer .footer-links a {
    color: #8e8e8e;
    text-decoration: none;
    font-size: 12px;
    font-weight: 400;
    transition: color 0.2s;
}

.pak-legal-footer .footer-links a:hover {
    color: #1a1a2e;
    text-decoration: underline;
}

.pak-legal-footer .footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px 20px;
    padding-top: 8px;
}

.pak-legal-footer .language-selector {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #8e8e8e;
    font-size: 12px;
}

.pak-legal-footer .language-selector select {
    background: transparent;
    border: none;
    color: #8e8e8e;
    font-size: 12px;
    font-family: inherit;
    cursor: pointer;
    padding: 2px 0;
    outline: none;
}

.pak-legal-footer .language-selector select option {
    background: #fff;
    color: #1a1a2e;
}

.pak-legal-footer .copyright {
    color: #8e8e8e;
    font-size: 12px;
    font-weight: 400;
}

/* ============================================
   LANDING PAGE (Guest)
   ============================================ */
.legal-landing {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 54px);
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
    gap: 50px;
    background: #fafafa;
    flex-wrap: wrap;
}

.landing-left {
    flex: 1;
    max-width: 500px;
    min-width: 280px;
}

.landing-left .brand {
    font-family: 'Grand Hotel', cursive;
    font-size: 48px;
    color: #1a1a2e;
    line-height: 1.2;
    margin-bottom: 8px;
}

.landing-left .brand span {
    color: #0095f6;
}

.landing-left .tagline {
    font-size: 20px;
    font-weight: 300;
    color: #1a1a2e;
    margin: 0 0 12px;
}

.landing-left .desc {
    font-size: 16px;
    color: #5a5a5a;
    line-height: 1.6;
    margin-bottom: 24px;
}

.landing-left .features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 20px;
    margin-bottom: 28px;
}

.landing-left .features li {
    list-style: none;
    font-size: 14px;
    color: #1a1a2e;
    display: flex;
    align-items: center;
    gap: 8px;
}

.landing-left .features li i {
    color: #0095f6;
    width: 18px;
}

.landing-left .cta-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.landing-left .cta-buttons a {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.landing-left .cta-buttons .primary {
    background: #0095f6;
    color: #fff;
}

.landing-left .cta-buttons .primary:hover {
    background: #0077c2;
    text-decoration: none;
}

.landing-left .cta-buttons .secondary {
    background: #fff;
    border: 1px solid #dbdbdb;
    color: #1a1a2e;
}

.landing-left .cta-buttons .secondary:hover {
    background: #fafafa;
    text-decoration: none;
}

.landing-right {
    width: 380px;
    flex-shrink: 0;
    min-width: 280px;
}

.landing-card {
    background: #fff;
    border: 1px solid #dbdbdb;
    border-radius: 12px;
    padding: 30px 32px 24px;
    margin-bottom: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.landing-card .card-title {
    font-size: 22px;
    font-weight: 300;
    text-align: center;
    margin: 0 0 20px;
    color: #1a1a2e;
}

.landing-error {
    background: #fce4e6;
    color: #ed4956;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 13px;
    margin-bottom: 12px;
    text-align: center;
}

.landing-login-form p {
    margin-bottom: 8px;
}

.landing-login-form label {
    display: none;
}

.landing-login-form input[type="text"],
.landing-login-form input[type="password"] {
    width: 100%;
    padding: 10px 12px;
    background: #fafafa;
    border: 1px solid #dbdbdb;
    border-radius: 4px;
    font-size: 13px;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s;
}

.landing-login-form input:focus {
    border-color: #a8a8a8;
}

.landing-login-form .forgetmenot {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 12px 0 16px;
    justify-content: center;
}

.landing-login-form .forgetmenot label {
    display: inline;
    font-size: 14px;
    color: #1a1a2e;
}

.landing-login-form .submit {
    margin: 0;
}

.landing-login-form .submit input {
    width: 100%;
    padding: 10px;
    background: #0095f6;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s;
}

.landing-login-form .submit input:hover {
    background: #0077c2;
}

.landing-divider {
    display: flex;
    align-items: center;
    margin: 16px 0;
    color: #8e8e8e;
    font-size: 13px;
}

.landing-divider::before,
.landing-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #dbdbdb;
}

.landing-divider span {
    margin: 0 16px;
    flex-shrink: 0;
}

.landing-signup {
    background: #fff;
    border: 1px solid #dbdbdb;
    border-radius: 12px;
    padding: 16px 20px;
    text-align: center;
    font-size: 14px;
}

.landing-signup a {
    color: #0095f6;
    font-weight: 600;
    text-decoration: none;
}

.landing-signup a:hover {
    text-decoration: underline;
}

.landing-forgot {
    text-align: center;
    margin-top: 10px;
}

.landing-forgot a {
    color: #8e8e8e;
    font-size: 13px;
    text-decoration: none;
}

.landing-forgot a:hover {
    text-decoration: underline;
    color: #1a1a2e;
}

/* ============================================
   DASHBOARD
   ============================================ */
.legal-dashboard {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
}

.dashboard-welcome {
    background: #fff;
    border: 1px solid #dbdbdb;
    border-radius: 12px;
    padding: 24px 28px;
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.dashboard-welcome .avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #0095f6;
}

.dashboard-welcome .greeting h1 {
    font-size: 22px;
    font-weight: 300;
    margin: 0 0 4px;
    color: #1a1a2e;
}

.dashboard-welcome .greeting p {
    margin: 0;
    color: #8e8e8e;
    font-size: 14px;
}

.dashboard-welcome .badge-role {
    background: #0095f6;
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: capitalize;
    display: inline-block;
    margin-left: 8px;
}

.dashboard-welcome .badge-role.lawyer {
    background: #34a853;
}

.dashboard-welcome .badge-role.pending {
    background: #f0ad4e;
}

.dashboard-stats {
    display: flex;
    gap: 32px;
    margin-left: auto;
    flex-wrap: wrap;
}

.dashboard-stats .stat-item {
    text-align: center;
}

.dashboard-stats .stat-item .num {
    font-size: 22px;
    font-weight: 600;
    color: #1a1a2e;
    display: block;
}

.dashboard-stats .stat-item .label {
    font-size: 12px;
    color: #8e8e8e;
}

.quick-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.quick-actions .action-btn {
    background: #0095f6;
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
}

.quick-actions .action-btn:hover {
    background: #0077c2;
    text-decoration: none;
}

.quick-actions .action-btn.secondary {
    background: #fff;
    border: 1px solid #dbdbdb;
    color: #1a1a2e;
}

.quick-actions .action-btn.secondary:hover {
    background: #fafafa;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
}

.dashboard-card {
    background: #fff;
    border: 1px solid #dbdbdb;
    border-radius: 12px;
    padding: 20px 24px;
}

.dashboard-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 16px;
    color: #1a1a2e;
    border-bottom: 1px solid #efefef;
    padding-bottom: 8px;
}

.dashboard-card .empty-state {
    color: #8e8e8e;
    font-size: 14px;
    text-align: center;
    padding: 20px 0;
}

/* ============================================
   SERVICES / CONTRACTS GRID
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.service-card {
    background: #fff;
    border: 1px solid #dbdbdb;
    border-radius: 12px;
    padding: 24px 20px;
    transition: all 0.3s;
    text-decoration: none;
    color: #1a1a2e;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border-color: #0095f6;
    text-decoration: none;
}

.service-card .icon-wrap {
    font-size: 32px;
    color: #0095f6;
    margin-bottom: 12px;
}

.service-card h3 {
    font-size: 17px;
    font-weight: 600;
    margin: 0 0 6px;
    color: #1a1a2e;
}

.service-card p {
    font-size: 14px;
    color: #8e8e8e;
    margin: 0 0 16px;
    line-height: 1.5;
    flex: 1;
}

.service-card .card-footer {
    font-size: 13px;
    font-weight: 600;
    color: #0095f6;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    border-top: none;
    padding: 0;
    background: transparent;
}

.service-card .card-footer i {
    font-size: 14px;
    transition: transform 0.2s;
}

.service-card:hover .card-footer i {
    transform: translateX(4px);
}

.service-card .price {
    font-weight: 600;
    color: #0095f6;
    font-size: 16px;
    margin-top: 8px;
}

/* ============================================
   LAWYER CARDS
   ============================================ */
.lawyer-card {
    background: #fff;
    border: 1px solid #dbdbdb;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 20px;
}

.lawyer-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.lawyer-card.featured {
    border-color: #ffc107;
    background: #fffdf5;
}

.lawyer-card .featured-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #ffc107;
    color: #1a1a2e;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 1;
}

.lawyer-card-inner {
    display: flex;
    padding: 20px;
    gap: 20px;
}

.lawyer-card-image-wrapper {
    flex: 0 0 120px;
}

.lawyer-card-image {
    position: relative;
    width: 120px;
    height: 120px;
}

.lawyer-card-image img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f0f0f0;
}

.lawyer-card-image .verification-badge {
    position: absolute;
    bottom: 4px;
    right: 4px;
    background: #4CAF50;
    color: #fff;
    border-radius: 50%;
    padding: 4px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}

.lawyer-card-content {
    flex: 1;
    min-width: 0;
}

.lawyer-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.lawyer-name {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.lawyer-name a {
    color: #1a1a2e;
    text-decoration: none;
}

.lawyer-name a:hover {
    color: #0095f6;
    text-decoration: underline;
}

.lawyer-firm {
    font-size: 13px;
    color: #666;
    background: #f5f5f5;
    padding: 2px 12px;
    border-radius: 12px;
}

.lawyer-specializations {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.specialization-tag {
    background: #e8f4fd;
    color: #0066cc;
    padding: 2px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.lawyer-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 8px;
    align-items: center;
}

.lawyer-rating {
    display: flex;
    align-items: center;
    gap: 2px;
}

.star {
    font-size: 15px;
}

.star.full {
    color: #ffc107;
}

.star.half {
    color: #ffc107;
    position: relative;
}

.star.half::after {
    content: '★';
    position: absolute;
    left: 0;
    width: 50%;
    overflow: hidden;
    color: #ffc107;
}

.star.empty {
    color: #e0e0e0;
}

.rating-text {
    color: #666;
    font-size: 13px;
    margin-left: 4px;
}

.no-rating {
    color: #999;
    font-size: 13px;
}

.lawyer-experience {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #666;
    font-size: 14px;
}

.lawyer-location,
.lawyer-bar-council {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #666;
    font-size: 13px;
    margin-bottom: 4px;
}

.lawyer-bio {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
    margin: 8px 0 12px;
}

.lawyer-card-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid #eee;
}

.consultation-fee {
    display: flex;
    align-items: center;
    gap: 4px;
}

.fee-label {
    font-size: 13px;
    color: #666;
}

.fee-amount {
    font-size: 16px;
    font-weight: 600;
    color: #2e7d32;
}

.action-buttons {
    display: flex;
    gap: 8px;
}

/* ============================================
   PROFILE PAGE
   ============================================ */
.profile-container {
    max-width: 935px;
    margin: 30px auto;
    padding: 0 20px;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 44px;
    padding-bottom: 44px;
    border-bottom: 1px solid #dbdbdb;
}

.profile-avatar-wrapper {
    position: relative;
    flex-shrink: 0;
    width: 150px;
    height: 150px;
}

.profile-avatar-wrapper img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #0095f6;
}

.profile-avatar-wrapper .avatar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
}

.profile-avatar-wrapper:hover .avatar-overlay {
    opacity: 1;
}

.profile-avatar-wrapper input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 150px;
    height: 150px;
    opacity: 0;
    cursor: pointer;
    z-index: 5;
    border-radius: 50%;
}

.profile-info {
    flex: 1;
}

.profile-info .name-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.profile-info .name-row h2 {
    font-size: 28px;
    font-weight: 300;
    margin: 0;
    color: #1a1a2e;
}

.profile-info .role-badge {
    background: #0095f6;
    color: #fff;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: capitalize;
}

.profile-info .role-badge.lawyer {
    background: #34a853;
}

.profile-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 20px;
}

.profile-stats .stat {
    font-size: 16px;
}

.profile-stats .stat strong {
    font-weight: 600;
}

.profile-stats .stat a {
    color: #1a1a2e;
    text-decoration: none;
}

.profile-stats .stat a:hover {
    text-decoration: underline;
}

.profile-bio {
    margin-top: 8px;
}

.profile-bio p {
    margin: 0 0 4px;
    white-space: pre-wrap;
}

.profile-bio .website {
    color: #00376b;
    font-weight: 600;
    display: inline-block;
    margin-top: 4px;
}

.lawyer-details-box {
    background: #f9f9f9;
    border: 1px solid #efefef;
    border-radius: 8px;
    padding: 16px 20px;
    margin: 16px 0 30px;
}

.lawyer-details-box .row {
    display: flex;
    padding: 6px 0;
}

.lawyer-details-box .row .label {
    font-weight: 600;
    min-width: 140px;
    color: #1a1a2e;
}

.lawyer-details-box .row .value {
    color: #5a5a5a;
}

.profile-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid #dbdbdb;
    margin-bottom: 24px;
}

.profile-tabs .tab {
    padding: 12px 24px;
    font-weight: 600;
    color: #8e8e8e;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
    text-decoration: none;
}

.profile-tabs .tab.active {
    color: #1a1a2e;
    border-bottom-color: #1a1a2e;
}

.profile-tabs .tab:hover {
    color: #1a1a2e;
}

.services-grid-profile {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.service-card-profile {
    background: #fff;
    border: 1px solid #dbdbdb;
    border-radius: 8px;
    padding: 16px 20px;
    text-decoration: none;
    color: #1a1a2e;
    transition: all 0.2s;
}

.service-card-profile:hover {
    border-color: #0095f6;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-decoration: none;
}

.service-card-profile h4 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 4px;
}

.service-card-profile .meta {
    font-size: 13px;
    color: #8e8e8e;
}

.service-card-profile .price {
    font-weight: 600;
    color: #0095f6;
    margin-top: 8px;
    display: block;
}

/* ============================================
   CONTRACT GENERATOR
   ============================================ */
.generator-wrapper {
    max-width: 800px;
    margin: 30px auto;
    padding: 0 20px;
}

.steps-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

.steps-indicator::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 40px;
    right: 40px;
    height: 2px;
    background: #dbdbdb;
    z-index: 0;
}

.step-dot {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    flex: 1;
}

.step-dot .circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #dbdbdb;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: all 0.3s;
}

.step-dot.active .circle {
    background: #0095f6;
}

.step-dot.done .circle {
    background: #34a853;
}

.step-dot .label {
    margin-top: 8px;
    font-size: 13px;
    color: #8e8e8e;
}

.step-dot.active .label {
    color: #1a1a2e;
    font-weight: 600;
}

.step-content {
    display: none;
    animation: fadeIn 0.4s;
}

.step-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-content h2 {
    font-size: 24px;
    font-weight: 300;
    margin: 0 0 8px;
}

.step-content .subtitle {
    color: #8e8e8e;
    margin: 0 0 24px;
}

.types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.type-card {
    background: #fff;
    border: 2px solid #dbdbdb;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.type-card:hover {
    border-color: #0095f6;
    transform: translateY(-4px);
}

.type-card.selected {
    border-color: #0095f6;
    background: #f0f7ff;
}

.type-card .icon {
    font-size: 36px;
}

.type-card h4 {
    margin: 8px 0 4px;
    font-size: 16px;
    font-weight: 600;
}

.type-card p {
    font-size: 13px;
    color: #8e8e8e;
    margin: 0 0 8px;
}

.type-card .price {
    font-weight: 600;
    color: #0095f6;
}

.step-nav {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #efefef;
}

.step-nav .btn {
    padding: 10px 28px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    text-decoration: none;
    font-size: 15px;
}

.step-nav .btn-primary {
    background: #0095f6;
    color: #fff;
}

.step-nav .btn-primary:hover {
    background: #0077c2;
}

.step-nav .btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.step-nav .btn-secondary {
    background: #fff;
    color: #1a1a2e;
    border: 1px solid #dbdbdb;
}

.step-nav .btn-secondary:hover {
    background: #f5f5f5;
}

.step-nav .btn-success {
    background: #34a853;
    color: #fff;
}

.step-nav .btn-success:hover {
    background: #2d9249;
}

/* ============================================
   PAYMENT PAGE
   ============================================ */
.payment-wrapper {
    max-width: 600px;
    margin: 40px auto;
    padding: 0 20px;
}

.payment-card {
    background: #fff;
    border: 1px solid #dbdbdb;
    border-radius: 12px;
    padding: 30px 24px;
}

.payment-card h1 {
    font-size: 24px;
    font-weight: 300;
    margin: 0 0 8px;
    color: #1a1a2e;
    text-align: center;
}

.payment-card .subtitle {
    color: #8e8e8e;
    text-align: center;
    margin: 0 0 24px;
}

.payment-summary {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 24px;
}

.payment-summary .row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #efefef;
}

.payment-summary .row:last-child {
    border-bottom: none;
}

.payment-summary .row.total {
    font-weight: 700;
    font-size: 18px;
    padding-top: 12px;
}

.payment-methods {
    margin-bottom: 24px;
}

.payment-methods h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 12px;
}

.payment-method {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border: 2px solid #dbdbdb;
    border-radius: 8px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.payment-method:hover {
    border-color: #0095f6;
}

.payment-method.selected {
    border-color: #0095f6;
    background: #f0f7ff;
}

.payment-method input[type="radio"] {
    margin: 0;
}

.payment-method .icon {
    font-size: 28px;
}

.payment-method .info {
    flex: 1;
}

.payment-method .info .name {
    font-weight: 600;
}

.payment-method .info .desc {
    font-size: 13px;
    color: #8e8e8e;
}

.pay-btn {
    width: 100%;
    padding: 14px;
    background: #0095f6;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.2s;
}

.pay-btn:hover {
    background: #0077c2;
}

.pay-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ============================================
   SUCCESS / FAILED PAGES
   ============================================ */
.success-wrapper,
.failed-wrapper {
    max-width: 600px;
    margin: 60px auto;
    padding: 0 20px;
    text-align: center;
}

.success-card,
.failed-card {
    background: #fff;
    border: 1px solid #dbdbdb;
    border-radius: 12px;
    padding: 50px 30px;
}

.success-card .icon {
    font-size: 72px;
    margin-bottom: 16px;
}

.success-card h1 {
    font-size: 28px;
    font-weight: 300;
    color: #1a1a2e;
    margin: 0 0 8px;
}

.success-card p {
    color: #8e8e8e;
    margin: 0 0 24px;
}

.success-card .details {
    text-align: left;
    background: #f9f9f9;
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 24px;
}

.success-card .details .row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #efefef;
}

.success-card .details .row:last-child {
    border-bottom: none;
}

.success-card .actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.success-card .note {
    margin-top: 20px;
    font-size: 13px;
    color: #8e8e8e;
}

.failed-card .icon {
    font-size: 64px;
    margin-bottom: 16px;
}

.failed-card h1 {
    font-size: 24px;
    font-weight: 300;
    color: #ed4956;
    margin: 0 0 8px;
}

.failed-card p {
    color: #8e8e8e;
    margin: 0 0 24px;
    line-height: 1.6;
}

.failed-card .actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.failed-card .support {
    margin-top: 20px;
    font-size: 14px;
    color: #8e8e8e;
}

.failed-card .support a {
    color: #0095f6;
    text-decoration: none;
}

/* ============================================
   REGISTRATION PAGE
   ============================================ */
.register-wrapper {
    max-width: 520px;
    margin: 60px auto;
    background: #fff;
    border: 1px solid #dbdbdb;
    border-radius: 12px;
    padding: 40px 32px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.register-wrapper .brand {
    text-align: center;
    margin-bottom: 24px;
}

.register-wrapper .brand h2 {
    font-family: 'Grand Hotel', cursive;
    font-size: 32px;
    color: #1a1a2e;
    margin: 0;
}

.register-wrapper .brand h2 span {
    color: #0095f6;
}

.register-wrapper .brand p {
    color: #8e8e8e;
    font-size: 14px;
    margin: 4px 0 0;
}

.register-wrapper .error-message {
    color: #ed4956;
    font-size: 14px;
    margin-bottom: 15px;
    text-align: center;
    padding: 10px;
    background: #fce4e6;
    border-radius: 4px;
}

.register-wrapper .success-message {
    color: #155724;
    font-size: 14px;
    margin-bottom: 15px;
    text-align: center;
    padding: 10px;
    background: #d4edda;
    border-radius: 4px;
}

.register-wrapper .username-suggestion {
    font-size: 13px;
    color: #8e8e8e;
    margin-top: -12px;
    margin-bottom: 12px;
    padding: 6px 12px;
    background: #f8f9fa;
    border-radius: 4px;
}

.register-wrapper .username-suggestion strong {
    color: #0095f6;
    cursor: pointer;
}

.register-wrapper .username-suggestion strong:hover {
    text-decoration: underline;
}

.role-selector {
    display: flex;
    gap: 24px;
    margin-bottom: 16px;
    justify-content: center;
}

.role-selector label {
    font-weight: 400;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    padding: 8px 16px;
    border: 1px solid #dbdbdb;
    border-radius: 6px;
    transition: all 0.2s;
}

.role-selector label:hover {
    background: #fafafa;
}

.role-selector input[type="radio"]:checked+label {
    border-color: #0095f6;
    background: #e8f4fd;
}

.lawyer-fields {
    display: none;
    border-top: 1px solid #efefef;
    padding-top: 16px;
    margin-top: 8px;
}

.login-link {
    text-align: center;
    margin-top: 16px;
    font-size: 14px;
    color: #8e8e8e;
}

.login-link a {
    color: #0095f6;
    font-weight: 600;
    text-decoration: none;
}

.login-link a:hover {
    text-decoration: underline;
}

/* ============================================
   PRICING PAGE
   ============================================ */
.pricing-wrapper {
    max-width: 1100px;
    margin: 30px auto;
    padding: 0 20px;
}

.pricing-wrapper .header {
    text-align: center;
    margin-bottom: 40px;
}

.pricing-wrapper .header h1 {
    font-size: 36px;
    font-weight: 300;
    margin: 0 0 8px;
}

.pricing-wrapper .header p {
    color: #8e8e8e;
    font-size: 18px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.pricing-card {
    background: #fff;
    border: 1px solid #dbdbdb;
    border-radius: 12px;
    padding: 30px 24px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.pricing-card.popular {
    border-color: #0095f6;
    background: #f8fcff;
}

.pricing-card .popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #0095f6;
    color: #fff;
    padding: 4px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.pricing-card .plan-name {
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 8px;
}

.pricing-card .price {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 4px;
}

.pricing-card .price .period {
    font-size: 14px;
    font-weight: 400;
    color: #8e8e8e;
}

.pricing-card .description {
    color: #8e8e8e;
    font-size: 14px;
    margin: 0 0 20px;
}

.pricing-card .features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    text-align: left;
}

.pricing-card .features li {
    padding: 8px 0;
    border-bottom: 1px solid #efefef;
    font-size: 14px;
}

.pricing-card .features li:last-child {
    border-bottom: none;
}

.pricing-card .features li::before {
    content: '✓ ';
    color: #34a853;
    font-weight: 700;
}

/* ============================================
   MESSAGES
   ============================================ */
.messages-wrapper {
    max-width: 800px;
    margin: 30px auto;
    padding: 0 20px;
}

.messages-wrapper h1 {
    font-size: 28px;
    font-weight: 300;
    margin: 0 0 24px;
}

.messages-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px;
}

.conversation-list {
    background: #fff;
    border: 1px solid #dbdbdb;
    border-radius: 12px;
    overflow: hidden;
}

.conversation-list .header {
    padding: 12px 16px;
    font-weight: 600;
    border-bottom: 1px solid #dbdbdb;
    background: #fafafa;
}

.conversation-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid #efefef;
    cursor: pointer;
    text-decoration: none;
    color: #1a1a2e;
    transition: background 0.2s;
}

.conversation-item:hover {
    background: #f5f5f5;
    text-decoration: none;
}

.conversation-item.active {
    background: #e8f4fd;
}

.conversation-item .avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.conversation-item .info {
    flex: 1;
}

.conversation-item .info .name {
    font-weight: 600;
}

.conversation-item .info .preview {
    font-size: 13px;
    color: #8e8e8e;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.conversation-item .time {
    font-size: 12px;
    color: #8e8e8e;
}

.chat-area {
    background: #fff;
    border: 1px solid #dbdbdb;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    height: 500px;
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid #dbdbdb;
    background: #fafafa;
}

.chat-header .avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.chat-header .name {
    font-weight: 600;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.chat-message {
    max-width: 70%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.5;
    word-wrap: break-word;
}

.chat-message.sent {
    align-self: flex-end;
    background: #0095f6;
    color: #fff;
}

.chat-message.received {
    align-self: flex-start;
    background: #f0f0f0;
    color: #1a1a2e;
}

.chat-message .time {
    font-size: 11px;
    color: #8e8e8e;
    margin-top: 4px;
    display: block;
}

.chat-message.sent .time {
    color: #cce5ff;
}

.chat-input {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid #dbdbdb;
}

.chat-input input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid #dbdbdb;
    border-radius: 6px;
    font-size: 14px;
}

.chat-input button {
    padding: 10px 20px;
    background: #0095f6;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
}

.chat-input button:hover {
    background: #0077c2;
}

.empty-chat {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #8e8e8e;
    font-size: 16px;
}

/* ============================================
   SETTINGS PAGE
   ============================================ */
.settings-wrapper {
    max-width: 700px;
    margin: 30px auto;
    padding: 0 20px;
}

.settings-wrapper h1 {
    font-size: 28px;
    font-weight: 300;
    margin: 0 0 24px;
}

.settings-card {
    background: #fff;
    border: 1px solid #dbdbdb;
    border-radius: 12px;
    padding: 30px 24px;
    margin-bottom: 24px;
}

.settings-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 16px;
    border-bottom: 1px solid #efefef;
    padding-bottom: 8px;
}

.settings-card .avatar-upload {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.settings-card .avatar-upload img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #0095f6;
}

.settings-card .avatar-upload .file-input {
    position: relative;
}

.settings-card .avatar-upload .file-input input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.settings-card .avatar-upload .file-input .btn {
    padding: 8px 16px;
    background: #f0f0f0;
    border: 1px solid #dbdbdb;
    border-radius: 4px;
    cursor: pointer;
}

.save-btn {
    padding: 10px 24px;
    background: #0095f6;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    font-size: 15px;
}

.save-btn:hover {
    background: #0077c2;
}

.save-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.status-msg {
    margin-left: 12px;
    color: #34a853;
    display: none;
}

/* ============================================
   ACTIVITY FEED
   ============================================ */
.activity-wrapper {
    max-width: 700px;
    margin: 30px auto;
    padding: 0 20px;
}

.activity-wrapper h1 {
    font-size: 28px;
    font-weight: 300;
    margin: 0 0 24px;
}

.post-form {
    background: #fff;
    border: 1px solid #dbdbdb;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
}

.post-form .post-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.post-form .post-header .avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.post-form .post-header .name {
    font-weight: 600;
}

.post-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #dbdbdb;
    border-radius: 8px;
    font-size: 14px;
    resize: vertical;
    min-height: 80px;
    box-sizing: border-box;
}

.post-form .post-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 12px;
}

.post-form .post-actions .btn-post {
    padding: 8px 24px;
    background: #0095f6;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
}

.post-form .post-actions .btn-post:hover {
    background: #0077c2;
}

.post-form .post-actions .btn-post:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.feed-item {
    background: #fff;
    border: 1px solid #dbdbdb;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 16px;
}

.feed-item .feed-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.feed-item .feed-header .avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.feed-item .feed-header .name {
    font-weight: 600;
    font-size: 14px;
}

.feed-item .feed-header .time {
    font-size: 12px;
    color: #8e8e8e;
    margin-left: auto;
}

.feed-item .feed-content {
    font-size: 14px;
    color: #1a1a2e;
    line-height: 1.6;
}

.feed-item .feed-actions {
    display: flex;
    gap: 16px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #efefef;
}

.feed-item .feed-actions button {
    background: none;
    border: none;
    color: #8e8e8e;
    font-size: 13px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s;
}

.feed-item .feed-actions button:hover {
    background: #f5f5f5;
    color: #1a1a2e;
}

.feed-item .feed-actions button.liked {
    color: #ed4956;
}

.comments-section {
    display: none;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #efefef;
}

.comment-item {
    display: flex;
    gap: 8px;
    padding: 6px 0;
    align-items: flex-start;
}

.comment-item .avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.comment-item .comment-body .name {
    font-weight: 600;
    font-size: 13px;
    margin-right: 6px;
}

.comment-item .comment-body .content {
    font-size: 13px;
    color: #1a1a2e;
}

.comment-form {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.comment-form input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #dbdbdb;
    border-radius: 6px;
    font-size: 13px;
}

.comment-form button {
    padding: 8px 16px;
    background: #0095f6;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    font-size: 13px;
}

.comment-form button:hover {
    background: #0077c2;
}

/* ============================================
   CONTRACTS TABLE
   ============================================ */
.contracts-wrapper {
    max-width: 900px;
    margin: 30px auto;
    padding: 0 20px;
}

.contracts-wrapper h1 {
    font-size: 28px;
    font-weight: 300;
    color: #1a1a2e;
    margin: 0 0 8px;
}

.contracts-wrapper .subtitle {
    color: #8e8e8e;
    margin: 0 0 24px;
}

.contracts-table {
    width: 100%;
    background: #fff;
    border: 1px solid #dbdbdb;
    border-radius: 12px;
    overflow: hidden;
    border-collapse: collapse;
}

.contracts-table th {
    background: #fafafa;
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid #dbdbdb;
}

.contracts-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #efefef;
}

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

.contracts-table .actions a {
    margin-right: 8px;
    font-weight: 600;
    text-decoration: none;
}

.contracts-table .actions .view {
    color: #0095f6;
}

.contracts-table .actions .download {
    color: #34a853;
}

.contracts-table .actions .delete {
    color: #ed4956;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #8e8e8e;
}

.empty-state .icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.empty-state a {
    color: #0095f6;
    font-weight: 600;
    text-decoration: none;
}

/* ============================================
   ABOUT & CONTACT PAGES
   ============================================ */
.about-wrapper,
.contact-wrapper {
    max-width: 800px;
    margin: 30px auto;
    padding: 0 20px;
}

.about-wrapper h1,
.contact-wrapper h1 {
    font-size: 32px;
    font-weight: 300;
    text-align: center;
    margin: 0 0 8px;
}

.about-wrapper .subtitle,
.contact-wrapper .subtitle {
    text-align: center;
    color: #8e8e8e;
    font-size: 18px;
    margin: 0 0 40px;
}

.about-section {
    background: #fff;
    border: 1px solid #dbdbdb;
    border-radius: 12px;
    padding: 30px 28px;
    margin-bottom: 24px;
}

.about-section h2 {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 16px;
}

.about-section p {
    color: #5a5a5a;
    line-height: 1.8;
    margin: 0 0 12px;
}

.about-section .values {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.about-section .values .value-item {
    text-align: center;
    padding: 16px;
    background: #f9f9f9;
    border-radius: 8px;
}

.about-section .values .value-item .icon {
    font-size: 32px;
    display: block;
    margin-bottom: 8px;
}

.about-section .values .value-item .label {
    font-weight: 600;
}

.about-section .values .value-item .desc {
    font-size: 13px;
    color: #8e8e8e;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

.team-member {
    text-align: center;
}

.team-member img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 8px;
}

.team-member .name {
    font-weight: 600;
}

.team-member .role {
    font-size: 13px;
    color: #8e8e8e;
}

.contact-card {
    background: #fff;
    border: 1px solid #dbdbdb;
    border-radius: 12px;
    padding: 30px 28px;
}

.contact-card .form-group {
    margin-bottom: 16px;
}

.contact-card .submit-btn {
    padding: 12px 32px;
    background: #0095f6;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    font-size: 16px;
}

.contact-card .submit-btn:hover {
    background: #0077c2;
}

.contact-card .submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #efefef;
}

.contact-info .info-item {
    text-align: center;
}

.contact-info .info-item .icon {
    font-size: 24px;
    display: block;
}

.contact-info .info-item .label {
    font-weight: 600;
    display: block;
    margin-top: 4px;
}

.contact-info .info-item .value {
    color: #8e8e8e;
    font-size: 13px;
}

/* ============================================
   TERMS & PRIVACY
   ============================================ */
.terms-wrapper,
.privacy-wrapper {
    max-width: 800px;
    margin: 30px auto;
    padding: 0 20px;
}

.terms-wrapper h1,
.privacy-wrapper h1 {
    font-size: 32px;
    font-weight: 300;
    text-align: center;
    margin: 0 0 8px;
}

.terms-wrapper .updated,
.privacy-wrapper .updated {
    text-align: center;
    color: #8e8e8e;
    font-size: 14px;
    margin: 0 0 30px;
}

.terms-section,
.privacy-section {
    background: #fff;
    border: 1px solid #dbdbdb;
    border-radius: 12px;
    padding: 24px 28px;
    margin-bottom: 20px;
}

.terms-section h2,
.privacy-section h2 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 12px;
}

.terms-section p,
.terms-section li,
.privacy-section p,
.privacy-section li {
    color: #5a5a5a;
    line-height: 1.7;
}

.terms-section ul,
.privacy-section ul {
    padding-left: 20px;
}

/* ============================================
   MODAL
   ============================================ */
.fowlstyle-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
}

.fowlstyle-modal-content {
    background: #fff;
    padding: 24px;
    border-radius: 12px;
    max-width: 400px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.fowlstyle-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 28px;
    cursor: pointer;
    color: #8e8e8e;
    background: none;
    border: none;
}

/* ============================================
   LOADING & SPINNER
   ============================================ */
.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #0095f6;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 10px auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.loading {
    position: relative;
    min-height: 60px;
}

.loading .spinner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    z-index: 10;
}

/* ============================================
   UTILITIES
   ============================================ */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-muted {
    color: #8e8e8e;
}

.text-success {
    color: #34a853;
}

.text-danger {
    color: #ed4956;
}

.text-warning {
    color: #f0ad4e;
}

.text-primary {
    color: #0095f6;
}

.fw-bold {
    font-weight: 700;
}

.fw-semibold {
    font-weight: 600;
}

.fw-normal {
    font-weight: 400;
}

.mt-1 {
    margin-top: 8px;
}

.mt-2 {
    margin-top: 16px;
}

.mt-3 {
    margin-top: 24px;
}

.mb-1 {
    margin-bottom: 8px;
}

.mb-2 {
    margin-bottom: 16px;
}

.mb-3 {
    margin-bottom: 24px;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.d-flex {
    display: flex;
}

.flex-wrap {
    flex-wrap: wrap;
}

.align-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.gap-1 {
    gap: 8px;
}

.gap-2 {
    gap: 16px;
}

.gap-3 {
    gap: 24px;
}

.w-100 {
    width: 100%;
}

.hidden {
    display: none !important;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.clearfix::after {
    content: '';
    display: table;
    clear: both;
}