/* ── RESET & BASE ── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: #f4f6f9;
    overflow-x: hidden;
}

/* ============================================================
   LOGIN PAGE STYLES
   ============================================================ */

.login-container {
    width: 100%;
    max-width: 440px;
    position: relative;
    z-index: 1;
    margin: 0 auto;
    padding: 20px;
}

.login-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 48px 40px 40px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.login-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.40);
}

.login-header {
    text-align: center;
    margin-bottom: 36px;
}

.login-header .logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #7ac943, #5fa832);
    border-radius: 20px;
    margin-bottom: 16px;
    box-shadow: 0 8px 24px rgba(122, 201, 67, 0.30);
    transition: transform 0.3s ease;
}

.login-header .logo-icon:hover {
    transform: scale(1.05) rotate(-5deg);
}

.login-header .logo-icon i {
    font-size: 36px;
    color: white;
}

.login-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: #0b2b3d;
    letter-spacing: -0.5px;
}

.login-header p {
    color: #6b7f8f;
    font-size: 15px;
    margin-top: 6px;
    font-weight: 400;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #2c4c5e;
    letter-spacing: 0.3px;
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 15px;
    color: #1a2f3f;
    outline: none;
    font-weight: 500;
    background: #f4f7fa;
    transition: all 0.3s ease;
}

.form-group input:focus {
    border-color: #7ac943;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(122, 201, 67, 0.12);
}

.form-group input::placeholder {
    color: #a0b3c2;
    font-weight: 400;
}

.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-wrapper input {
    padding-right: 50px;
}

.password-wrapper .toggle-password {
    position: absolute;
    right: 16px;
    background: none;
    border: none;
    color: #a0b3c2;
    cursor: pointer;
    font-size: 18px;
    padding: 0;
    transition: color 0.3s ease;
}

.password-wrapper .toggle-password:hover {
    color: #7ac943;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4px;
}

.form-options .remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #4a6577;
    cursor: pointer;
}

.form-options .remember-me input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #7ac943;
    cursor: pointer;
    border-radius: 4px;
    margin: 0;
}

.form-options .forgot-link {
    font-size: 14px;
    color: #7ac943;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.form-options .forgot-link:hover {
    color: #5fa832;
    text-decoration: underline;
}

.login-btn {
    margin-top: 8px;
    padding: 16px;
    background: linear-gradient(135deg, #7ac943, #5fa832);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(122, 201, 67, 0.30);
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(122, 201, 67, 0.40);
    background: linear-gradient(135deg, #6db83a, #53992b);
}

.register-link {
    text-align: center;
    margin-top: 24px;
    font-size: 15px;
    color: #4a6577;
    padding-top: 20px;
    border-top: 1px solid #e8edf2;
}

.register-link a {
    color: #7ac943;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.register-link a:hover {
    color: #5fa832;
    text-decoration: underline;
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 50px;
    background: rgba(11, 43, 61, 0.95);
    backdrop-filter: blur(10px);
    color: white;
    z-index: 1000;
    box-sizing: border-box;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    color: #7ac943;
}

.logo span {
    color: #7ac943;
}

/* ── NAV ── */
.nav {
    display: flex;
    gap: 32px;
    list-style: none;
    align-items: center;
}

.nav a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 4px;
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #7ac943;
    transition: width 0.3s ease;
}

.nav a:hover {
    color: white;
}

.nav a:hover::after {
    width: 100%;
}

.nav a.active {
    color: #7ac943;
}

.nav a.active::after {
    width: 100%;
}

.nav a.logout-link {
    color: #e74c3c;
}

.nav a.logout-link::after {
    background: #e74c3c;
}

.nav a.logout-link:hover {
    color: #ff6b6b;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 120px;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
}

.content {
    position: relative;
    z-index: 2;
    max-width: 550px;
    color: white;
}

.content h1 {
    font-size: 70px;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 20px;
}

.content h1 span {
    color: #7ac943;
}

.content p {
    font-size: 22px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn,
button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #7ac943;
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 10px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
}

.btn:hover,
button:hover {
    background: #68b236;
    transform: translateY(-1px);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: rgba(11, 43, 61, 0.95);
    color: rgba(255, 255, 255, 0.50);
    text-align: center;
    padding: 20px;
    font-size: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: 20px;
}

.footer p {
    margin: 0;
}

/* ============================================================
   FORMS
   ============================================================ */
.form-container {
    width: 450px;
    margin: 120px auto 60px;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.form-container h2 {
    margin-bottom: 20px;
    color: #2c3e50;
    font-size: 24px;
}

label {
    display: block;
    font-weight: bold;
    color: #444;
    margin-bottom: 4px;
}

input,
textarea,
select {
    width: 100%;
    padding: 10px 12px;
    margin-bottom: 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #7ac943;
    box-shadow: 0 0 0 3px rgba(122, 201, 67, 0.20);
}

textarea {
    resize: vertical;
    min-height: 90px;
}

.form-container button {
    width: 100%;
    justify-content: center;
    font-size: 18px;
    padding: 14px;
}

/* ============================================================
   DASHBOARD STYLES
   ============================================================ */

/* ── SIDEBAR ── */
.dashboard-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 260px;
    height: 100vh;
    background: linear-gradient(180deg, #0b2b3d 0%, #1a3f52 100%);
    padding: 30px 20px;
    box-shadow: 2px 0 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.dashboard-sidebar::-webkit-scrollbar {
    width: 4px;
}

.dashboard-sidebar::-webkit-scrollbar-thumb {
    background: rgba(122, 201, 67, 0.30);
    border-radius: 10px;
}

/* ── SIDEBAR BRAND ── */
.sidebar-brand {
    text-align: center;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 20px;
}

.sidebar-brand .brand-icon {
    font-size: 45px;
    display: block;
    margin-bottom: 8px;
    filter: drop-shadow(0 4px 8px rgba(122, 201, 67, 0.30));
}

.sidebar-brand h2 {
    color: white;
    font-size: 22px;
    font-weight: 700;
    margin: 0;
}

.sidebar-brand h2 span {
    color: #7ac943;
}

.sidebar-brand .brand-tagline {
    color: rgba(255, 255, 255, 0.40);
    font-size: 12px;
    margin-top: 4px;
    letter-spacing: 0.05em;
}

/* ── SIDEBAR USER PROFILE ── */
.sidebar-user {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 20px;
}

.sidebar-user .avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7ac943, #5fa832);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 28px;
    color: white;
    box-shadow: 0 4px 16px rgba(122, 201, 67, 0.25);
    position: relative;
}

.sidebar-user .avatar .online-status {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 14px;
    height: 14px;
    background: #2ecc71;
    border-radius: 50%;
    border: 3px solid #0b2b3d;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.sidebar-user .username {
    color: white;
    font-size: 16px;
    font-weight: 600;
}

.sidebar-user .user-email {
    color: rgba(255, 255, 255, 0.40);
    font-size: 12px;
    margin-top: 4px;
}

/* ── SIDEBAR NAVIGATION ── */
.sidebar-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sidebar-nav .nav-section {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.25);
    font-weight: 700;
    padding: 12px 16px 6px;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.sidebar-nav a:hover {
    background: rgba(122, 201, 67, 0.12);
    color: white;
}

.sidebar-nav a.active {
    background: rgba(122, 201, 67, 0.15);
    color: white;
}

.sidebar-nav a.logout-link {
    color: #e74c3c;
}

.sidebar-nav a.logout-link:hover {
    background: rgba(231, 76, 60, 0.12);
}

/* ── SIDEBAR DIVIDER ── */
.sidebar-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 8px 16px;
}

.badge-nav {
    margin-left: auto;
    background: #7ac943;
    color: #fff;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

/* ── MOBILE TOGGLE ── */
.mobile-toggle {
    display: none;
    background: rgba(11, 43, 61, 0.95);
    color: white;
    border: none;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 18px;
    cursor: pointer;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.10);
}

.mobile-toggle:hover {
    background: #1a4a5f;
}

/* ── OVERLAY ── */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.50);
    backdrop-filter: blur(4px);
    z-index: 999;
}

.sidebar-overlay.active {
    display: block;
}

/* ── MAIN CONTENT ── */
.dashboard-main {
    margin-left: 260px;
    max-width: calc(1200px + 260px);
    padding: 30px 40px 60px;
    min-height: 100vh;
}

/* ── WELCOME SECTION ── */
.welcome-section {
    background: linear-gradient(135deg, #0b2b3d, #1a4a5f);
    border-radius: 20px;
    padding: 40px 45px;
    color: white;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(11, 43, 61, 0.20);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.welcome-section::before {
    content: '🐾';
    position: absolute;
    right: 40px;
    bottom: 20px;
    font-size: 80px;
    opacity: 0.08;
}

.welcome-content {
    flex: 1;
}

.welcome-section h1 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 6px;
}

.welcome-section p {
    opacity: 0.80;
    font-size: 16px;
    margin: 0;
}

.welcome-date {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 10px;
    backdrop-filter: blur(4px);
    white-space: nowrap;
}

.welcome-date i {
    color: #7ac943;
}

/* ── STATS GRID ── */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 35px;
}

.stat-card {
    background: white;
    padding: 24px 20px;
    border-radius: 16px;
    border: 1px solid #e8edf2;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    border-color: #7ac943;
    box-shadow: 0 8px 30px rgba(122, 201, 67, 0.12);
}

.stat-card .stat-icon {
    font-size: 32px;
    display: block;
    margin-bottom: 8px;
}

.stat-card .stat-number {
    font-size: 36px;
    font-weight: 700;
    color: #0b2b3d;
    line-height: 1.2;
}

.stat-card .stat-label {
    color: #6b7f8f;
    font-size: 14px;
    font-weight: 500;
    margin-top: 4px;
}

/* ── SECTION HEADER ── */
.section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: #0b2b3d;
    margin: 0;
}

/* ── QUICK ACTIONS ── */
.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 35px;
}

.quick-action-box {
    background: white;
    padding: 28px 24px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid #e8edf2;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #0b2b3d;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.quick-action-box:hover {
    transform: translateY(-6px);
    border-color: #7ac943;
    box-shadow: 0 8px 30px rgba(122, 201, 67, 0.12);
}

.quick-action-box .icon {
    font-size: 36px;
    display: block;
    margin-bottom: 12px;
}

.quick-action-box h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.quick-action-box p {
    color: #6b7f8f;
    font-size: 14px;
    margin: 0;
}

/* ── TWO COLUMN LAYOUT ── */
.two-column-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

/* ── REQUESTS TABLE ── */
.requests-table-wrapper {
    background: white;
    border-radius: 16px;
    border: 1px solid #e8edf2;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.requests-table-wrapper .table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #e8edf2;
    flex-wrap: wrap;
    gap: 12px;
}

.requests-table-wrapper .table-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0b2b3d;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.requests-table-wrapper .table-header h3 i {
    color: #7ac943;
}

.badge-pill {
    background: #7ac943;
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 60px;
}

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

.requests-table th {
    background: #f8fafc;
    padding: 14px 20px;
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    color: #6b7f8f;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border-bottom: 1px solid #e8edf2;
}

.requests-table td {
    padding: 16px 20px;
    border-bottom: 1px solid #f0f4f8;
    font-size: 14px;
    color: #0b2b3d;
}

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

.requests-table tr:hover td {
    background: #fafbfc;
}

.requests-table .user-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.requests-table .user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e8edf2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #6b7f8f;
    flex-shrink: 0;
}

.requests-table .dog-name {
    font-weight: 600;
}

.requests-table .dog-breed {
    color: #6b7f8f;
    font-size: 13px;
}

.status-badge-sm {
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.status-badge-sm.pending {
    background: #fef5ec;
    color: #e67e22;
}

.status-badge-sm.approved {
    background: #eafaf1;
    color: #27ae60;
}

.status-badge-sm.rejected {
    background: #fdedec;
    color: #e74c3c;
}

.action-link {
    color: #7ac943;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.action-link:hover {
    color: #5fa832;
    text-decoration: underline;
}

.table-footer {
    padding: 12px 24px;
    border-top: 1px solid #e8edf2;
    text-align: right;
}

.view-all-link {
    display: inline-block;
    color: #7ac943;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 14px;
}

.view-all-link:hover {
    color: #5fa832;
}

/* ── TIPS SECTION ── */
.tips-section {
    background: white;
    border-radius: 16px;
    padding: 24px 28px;
    border: 1px solid #e8edf2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.tips-section h3 {
    font-size: 16px;
    font-weight: 700;
    color: #0b2b3d;
    margin-bottom: 16px;
}

.tip-item {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f4f8;
    align-items: flex-start;
}

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

.tip-item .tip-icon {
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 2px;
}

.tip-item .tip-text {
    color: #4a6577;
    font-size: 14px;
    line-height: 1.6;
}

.adoption-guide-btn {
    display: block;
    width: 100%;
    background: #7ac943;
    color: white;
    padding: 12px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 14px;
    font-size: 15px;
    border: none;
    cursor: pointer;
    text-align: center;
}

.adoption-guide-btn:hover {
    background: #5fa832;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(122, 201, 67, 0.35);
}

/* ── ACTIVITY LIST ── */
.activity-list {
    background: white;
    border-radius: 16px;
    padding: 24px 28px;
    border: 1px solid #e8edf2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

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

.activity-header h3 {
    font-size: 16px;
    font-weight: 700;
    color: #0b2b3d;
    margin: 0;
}

.activity-item {
    display: flex;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid #f0f4f8;
}

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

.activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 18px;
    color: white;
}

.activity-icon.blue { background: #3498db; }
.activity-icon.green { background: #2ecc71; }
.activity-icon.orange { background: #f39c12; }
.activity-icon.red { background: #e74c3c; }

.activity-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.activity-text {
    color: #0b2b3d;
    font-size: 15px;
    font-weight: 500;
}

.activity-time {
    color: #8a9ba8;
    font-size: 13px;
    margin-top: 2px;
}

/* ── SIDEBAR TOGGLE ── */
.sidebar-toggle {
    position: fixed;
    top: 16px;
    left: 16px;
    z-index: 1001;
    background: #0b2b3d;
    color: #fff;
    border: none;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 20px;
    cursor: pointer;
    display: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.20);
}

.sidebar-toggle:hover {
    background: #1a4a5f;
}

/* ── SIDEBAR HIDDEN BY DEFAULT ── */
.dashboard-sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s;
}

.dashboard-sidebar.open {
    transform: translateX(0);
}

/* ── RESPONSIVE ── */
@media (min-width: 769px) {
    .dashboard-sidebar {
        transform: translateX(0);
    }
    .sidebar-toggle {
        display: none !important;
    }
    .dashboard-main {
        margin-left: 260px;
    }
}

@media (max-width: 768px) {
    .sidebar-toggle {
        display: block;
    }
    .dashboard-main {
        margin-left: 0;
        padding: 16px;
        margin-top: 60px;
    }
    .dashboard-sidebar {
        width: 280px;
        z-index: 1000;
    }
    .welcome-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 28px 24px;
    }
    .welcome-date {
        font-size: 13px;
        padding: 6px 14px;
        white-space: normal;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .stat-card {
        padding: 16px;
    }
    .stat-card .stat-number {
        font-size: 28px;
    }
    .quick-actions-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .quick-action-box {
        padding: 20px 16px;
    }
    .two-column-layout {
        grid-template-columns: 1fr;
    }
    .requests-table-wrapper {
        overflow-x: auto;
    }
    .requests-table {
        min-width: 500px;
    }
    .requests-table th,
    .requests-table td {
        padding: 12px 14px;
        font-size: 13px;
    }
    .login-card {
        padding: 32px 24px 28px;
        border-radius: 20px;
    }
    .login-header h1 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    .quick-actions-grid {
        grid-template-columns: 1fr;
    }
    .welcome-section h1 {
        font-size: 22px;
    }
    .login-card {
        padding: 24px 16px;
    }
}

/* ── FILTER TABS ── */
.filter-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
    flex-wrap: wrap;
    background: #fff;
    padding: 12px 20px;
    border-radius: 16px;
    border: 1px solid #e8edf2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.filter-tabs .filter-btn {
    padding: 8px 20px;
    border-radius: 20px;
    border: 2px solid #e2e8f0;
    background: transparent;
    color: #4a6577;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.filter-tabs .filter-btn:hover {
    border-color: #7ac943;
    color: #7ac943;
}

.filter-tabs .filter-btn.active {
    background: #7ac943;
    border-color: #7ac943;
    color: #fff;
}

/* ── PAGE HEADER ── */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}

.page-header h1 {
    font-size: 26px;
    font-weight: 700;
    color: #0b2b3d;
}

.page-header h1 span {
    color: #7ac943;
}

.page-header .back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #0b2b3d;
    color: white;
    padding: 8px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.page-header .back-btn:hover {
    background: #1a4a5f;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(11, 43, 61, 0.20);
}

/* ── SEARCH SECTION ── */
.search-section {
    background: white;
    padding: 16px 24px;
    border-radius: 16px;
    border: 1px solid #e8edf2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    margin-bottom: 20px;
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.search-section .search-label {
    font-weight: 600;
    color: #0b2b3d;
    font-size: 14px;
}

.search-section .search-wrapper {
    flex: 1;
    display: flex;
    gap: 10px;
    min-width: 200px;
    flex-wrap: wrap;
}

.search-section .search-wrapper input {
    flex: 1;
    padding: 10px 14px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
    min-width: 120px;
    background: #fafbfc;
}

.search-section .search-wrapper input:focus {
    outline: none;
    border-color: #7ac943;
    box-shadow: 0 0 0 3px rgba(122, 201, 67, 0.12);
    background: white;
}

.search-section .search-wrapper button {
    background: #7ac943;
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-section .search-wrapper button:hover {
    background: #5fa832;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(122, 201, 67, 0.30);
}

.search-section .search-wrapper .clear-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 18px;
    background: #e2e8f0;
    border-radius: 10px;
    text-decoration: none;
    color: #4a6577;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.search-section .search-wrapper .clear-btn:hover {
    background: #cbd5e1;
}

/* ── RESULTS COUNT ── */
.results-count {
    color: #6b7f8f;
    margin-bottom: 14px;
    font-size: 14px;
}

/* ── DOGS GRID ── */
.dogs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    margin-bottom: 30px;
}

.dog-card {
    background: white;
    border-radius: 16px;
    padding: 20px;
    border: 1px solid #e8edf2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.dog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.10);
    border-color: #7ac943;
}

/* ── DOG IMAGE ── */
.dog-card .dog-img {
    width: 100%;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, #e8f5e0, #d4edc9);
    margin-bottom: 14px;
    position: relative;
}

.dog-card .dog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dog-card .dog-img .emoji {
    font-size: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

/* ── HEART BUTTON ── */
.dog-card .heart {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    border: none;
    font-size: 18px;
    color: #e74c3c;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
}

.dog-card .heart:hover {
    transform: scale(1.1);
}
/* ============================================================
   ADD THESE TO YOUR EXISTING style.css (AT THE END)
   ============================================================ */

/* ── STATS ROW ── */
.stats-row {
    display: flex;
    gap: 50px;
    margin-bottom: 35px;
    padding: 20px 0;
    border-bottom: 1px solid #e8edf2;
    flex-wrap: wrap;
}

/* ── WELCOME DATE ── */
.welcome-date {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 10px;
    white-space: nowrap;
}

.welcome-date i {
    color: #7ac943;
}

/* ── BADGE NAV ── */
.badge-nav {
    margin-left: auto;
    background: #7ac943;
    color: #fff;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

/* ── ACTIVITY ICON ORANGE ── */
.activity-icon.orange {
    background: #f39c12;
}

/* ── DOG CARD STYLES ── */
.dog-card .name {
    font-size: 18px;
    font-weight: 700;
    color: #0b2b3d;
    margin-bottom: 2px;
}

.dog-card .breed {
    color: #6b7f8f;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

.dog-card .meta {
    display: flex;
    gap: 16px;
    margin-bottom: 10px;
}

.dog-card .meta span {
    font-size: 13px;
    color: #4a6577;
    display: flex;
    align-items: center;
    gap: 4px;
}

.dog-card .meta span i {
    color: #8a9ba8;
    font-size: 14px;
}

.dog-card .adopt-btn {
    display: block;
    background: #7ac943;
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    text-align: center;
}

.dog-card .adopt-btn:hover {
    background: #5fa832;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(122, 201, 67, 0.30);
}
/* ============================================================
   MY REQUESTS PAGE STYLES
   ============================================================ */

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}

.page-header h1 {
    font-size: 26px;
    font-weight: 700;
    color: #0b2b3d;
}

.page-header h1 span {
    color: #7ac943;
}

.count-badge {
    background: #7ac943;
    color: #fff;
    padding: 6px 18px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.filter-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    background: #fff;
    padding: 12px 20px;
    border-radius: 16px;
    border: 1px solid #e8edf2;
    margin-bottom: 24px;
}

.filter-btn {
    padding: 6px 18px;
    border-radius: 20px;
    border: 2px solid #e2e8f0;
    background: transparent;
    color: #4a6577;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all .3s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.filter-btn:hover {
    border-color: #7ac943;
    color: #7ac943;
}

.filter-btn.active {
    background: #7ac943;
    border-color: #7ac943;
    color: #fff;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.pending-dot { background: #e67e22; }
.approved-dot { background: #27ae60; }
.rejected-dot { background: #e74c3c; }

.requests-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.request-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px 28px;
    border: 1px solid #e8edf2;
    transition: all .3s;
    position: relative;
    overflow: hidden;
}

.request-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.request-card.status-pending::before {
    background: linear-gradient(90deg, #f39c12, #e67e22);
}

.request-card.status-approved::before {
    background: linear-gradient(90deg, #2ecc71, #27ae60);
}

.request-card.status-rejected::before {
    background: linear-gradient(90deg, #e74c3c, #c0392b);
}

.request-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    border-color: #7ac943;
}

.request-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}

.dog-name {
    font-size: 19px;
    font-weight: 700;
    color: #0b2b3d;
    margin: 0;
}

.dog-breed {
    color: #6b7f8f;
    font-size: 14px;
}

.request-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.request-date {
    color: #8a9ba8;
    font-size: 13px;
}

.status-badge {
    padding: 4px 14px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.status-badge.pending {
    background: #fef5ec;
    color: #e67e22;
}

.status-badge.approved {
    background: #eafaf1;
    color: #27ae60;
}

.status-badge.rejected {
    background: #fdedec;
    color: #e74c3c;
}

.request-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 25px;
    background: #f8fafc;
    padding: 14px 18px;
    border-radius: 10px;
    margin: 10px 0 14px;
}

.request-details .full-width {
    grid-column: span 2;
}

.request-details .label {
    font-size: 10px;
    text-transform: uppercase;
    color: #8a9ba8;
    font-weight: 600;
    letter-spacing: .04em;
    display: block;
}

.request-details .value {
    font-size: 14px;
    color: #0b2b3d;
    font-weight: 500;
    display: block;
}

.request-details .value.yes {
    color: #27ae60;
}

.request-details .value.no {
    color: #e74c3c;
}

.request-message {
    background: #fff;
    padding: 10px 14px;
    border-radius: 8px;
    border-left: 3px solid #7ac943;
    margin-bottom: 14px;
}

.msg-label {
    font-size: 10px;
    text-transform: uppercase;
    color: #8a9ba8;
    font-weight: 600;
    letter-spacing: .04em;
}

.msg-text {
    font-size: 14px;
    color: #4a6577;
    line-height: 1.5;
}

.request-actions {
    display: flex;
    justify-content: flex-end;
    padding-top: 14px;
    border-top: 1px solid #f0f4f8;
}

.btn-delete {
    background: #fdedec;
    color: #e74c3c;
    border: none;
    padding: 6px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all .3s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-delete:hover {
    background: #e74c3c;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(231,76,60,0.30);
}

.empty-state {
    text-align: center;
    padding: 50px 20px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e8edf2;
}

.empty-state .empty-icon {
    font-size: 56px;
    display: block;
    margin-bottom: 12px;
}

.empty-state h3 {
    font-size: 20px;
    color: #0b2b3d;
    margin-bottom: 6px;
}

.empty-state p {
    color: #6b7f8f;
    font-size: 15px;
    margin-bottom: 16px;
}

.empty-state .btn-primary {
    display: inline-block;
    background: #7ac943;
    color: #fff;
    padding: 10px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all .3s;
}

.empty-state .btn-primary:hover {
    background: #5fa832;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(122,201,67,0.30);
}

/* Responsive */
@media (max-width: 768px) {
    .page-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .request-card {
        padding: 18px 20px;
    }
    .request-top {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }
    .request-meta {
        width: 100%;
        justify-content: space-between;
    }
    .request-details {
        grid-template-columns: 1fr;
        padding: 12px 14px;
    }
    .request-details .full-width {
        grid-column: span 1;
    }
    .request-actions {
        flex-direction: column;
    }
    .request-actions .btn-delete {
        width: 100%;
        justify-content: center;
    }
    .filter-tabs {
        justify-content: center;
        padding: 10px 14px;
        gap: 6px;
    }
    .filter-btn {
        padding: 5px 12px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 22px;
    }
    .dog-name {
        font-size: 17px;
    }
    .request-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    .count-badge {
        width: 100%;
        justify-content: center;
    }
}
/* ============================================================
   ACTIVITIES SECTION
   ============================================================ */

.activities-section {
    padding: 80px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.activities-header {
    text-align: center;
    margin-bottom: 50px;
}

.activities-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: #0b2b3d;
}

.activities-header h2 span {
    color: #7ac943;
}

.activities-header p {
    color: #6b7f8f;
    font-size: 18px;
    margin-top: 8px;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.activity-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px 28px;
    border: 1px solid #e8edf2;
    transition: all .3s;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.activity-card:hover {
    transform: translateY(-8px);
    border-color: #7ac943;
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.activity-card .icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e8f5e0, #d4edc9);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 32px;
}

.activity-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #0b2b3d;
    margin-bottom: 8px;
}

.activity-card p {
    color: #6b7f8f;
    font-size: 15px;
    line-height: 1.6;
}

.activity-card .time {
    display: inline-block;
    margin-top: 12px;
    font-size: 13px;
    color: #8a9ba8;
    background: #f8fafc;
    padding: 4px 14px;
    border-radius: 20px;
}

/* Font Awesome for icons */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

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

@media (max-width: 768px) {
    .activities-section {
        padding: 40px 20px;
    }
    .activities-header h2 {
        font-size: 28px;
    }
    .activities-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .activity-card {
        padding: 24px 20px;
    }
}
/* ============================================================
   ACTIVITIES SECTION - UPLOAD FUNCTIONALITY
   ============================================================ */

.activities-section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.activities-header {
    text-align: center;
    margin-bottom: 50px;
}

.activities-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: #0b2b3d;
}

.activities-header h2 span {
    color: #7ac943;
}

.activities-header p {
    color: #6b7f8f;
    font-size: 18px;
    margin-top: 8px;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.activity-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px 24px;
    border: 1px solid #e8edf2;
    transition: all .3s;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.activity-card:hover {
    transform: translateY(-8px);
    border-color: #7ac943;
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.activity-card h3 {
    font-size: 22px;
    color: #0b2b3d;
    margin-bottom: 5px;
}

.activity-title {
    font-size: 16px;
    color: #6b7f8f;
    margin-bottom: 15px;
}

.upload-area {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 2px dashed #7ac943;
    border-radius: 12px;
    padding: 25px 20px;
    cursor: pointer;
    transition: 0.3s;
    background: #fafbfc;
    min-height: 130px;
}

.upload-area:hover {
    background: #f0faf0;
    border-color: #5fa832;
}

.upload-area.has-file {
    border-color: #28a745;
    background: #f0fff4;
}

.upload-icon {
    font-size: 40px;
    margin-bottom: 8px;
}

.upload-area h4 {
    color: #333;
    font-size: 16px;
    margin-bottom: 5px;
}

.upload-area p {
    color: #888;
    font-size: 14px;
    word-break: break-word;
}

.buttons {
    margin-top: 18px;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.buttons button {
    padding: 8px 20px;
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s;
}

.buttons .view-btn {
    background: #7ac943;
}

.buttons .view-btn:hover {
    background: #5fa832;
    transform: scale(1.03);
}

.buttons .remove-btn {
    background: #dc3545;
}

.buttons .remove-btn:hover {
    background: #c82333;
    transform: scale(1.03);
}

#filename1, #filename2, #filename3 {
    font-size: 14px;
    color: #888;
    margin-top: 5px;
}

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

@media (max-width: 768px) {
    .activities-section {
        padding: 40px 20px;
    }
    .activities-header h2 {
        font-size: 28px;
    }
    .activities-grid {
        grid-template-columns: 1fr;
    }
    .activity-card {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .buttons {
        flex-direction: column;
        align-items: center;
    }
    .buttons button {
        width: 100%;
        max-width: 180px;
    }
    .upload-area {
        padding: 20px;
        min-height: 100px;
    }
}
/* ============================================================
   ADMIN ADOPTIONS PAGE STYLES
   ============================================================ */

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}

.page-header h1 {
    font-size: 26px;
    font-weight: 700;
    color: #0b2b3d;
}

.page-header h1 span {
    color: #7ac943;
}

.count-badge {
    background: #7ac943;
    color: #fff;
    padding: 6px 18px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-approve {
    display: inline-block;
    background: #2ecc71;
    color: #fff;
    padding: 5px 14px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: all .3s;
    margin-right: 5px;
}

.btn-approve:hover {
    background: #27ae60;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.30);
}

.btn-reject {
    display: inline-block;
    background: #e74c3c;
    color: #fff;
    padding: 5px 14px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: all .3s;
}

.btn-reject:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.30);
}

.requests-table-wrapper {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e8edf2;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.requests-table-wrapper .table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #e8edf2;
    flex-wrap: wrap;
    gap: 12px;
}

.requests-table-wrapper .table-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0b2b3d;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.requests-table-wrapper .table-header h3 i {
    color: #7ac943;
}

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

.requests-table th {
    background: #f8fafc;
    padding: 14px 20px;
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    color: #6b7f8f;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border-bottom: 1px solid #e8edf2;
}

.requests-table td {
    padding: 16px 20px;
    border-bottom: 1px solid #f0f4f8;
    font-size: 14px;
    color: #0b2b3d;
}

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

.requests-table tr:hover td {
    background: #fafbfc;
}

.requests-table .user-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.requests-table .user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e8edf2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #6b7f8f;
    flex-shrink: 0;
}

.requests-table .dog-name {
    font-weight: 600;
}

.status-badge-sm {
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.status-badge-sm.pending {
    background: #fef5ec;
    color: #e67e22;
}

.status-badge-sm.approved {
    background: #eafaf1;
    color: #27ae60;
}

.status-badge-sm.rejected {
    background: #fdedec;
    color: #e74c3c;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e8edf2;
}

.empty-state .empty-icon {
    font-size: 64px;
    display: block;
    margin-bottom: 16px;
}

.empty-state h3 {
    font-size: 22px;
    color: #0b2b3d;
    margin-bottom: 8px;
}

.empty-state p {
    color: #6b7f8f;
    font-size: 16px;
}

/* Responsive */
@media (max-width: 768px) {
    .page-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .requests-table-wrapper {
        overflow-x: auto;
    }
    .requests-table {
        min-width: 600px;
    }
    .requests-table th,
    .requests-table td {
        padding: 12px 14px;
        font-size: 13px;
    }
    .btn-approve,
    .btn-reject {
        font-size: 11px;
        padding: 4px 10px;
    }
}

/* ============================================================
   RESPONSIVE QUICK ACTIONS - ADMIN STYLE
   ============================================================ */

.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 35px;
}

.quick-action-box {
    background: white;
    padding: 24px 20px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid #e8edf2;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #0b2b3d;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.quick-action-box:hover {
    transform: translateY(-4px);
    border-color: #7ac943;
    box-shadow: 0 8px 30px rgba(122, 201, 67, 0.12);
}

.quick-action-box .icon {
    font-size: 36px;
    display: block;
    margin-bottom: 12px;
}

.quick-action-box h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.quick-action-box p {
    color: #6b7f8f;
    font-size: 14px;
    margin: 0;
}

/* Tablet */
@media (max-width: 992px) {
    .quick-actions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .quick-actions-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    
    .quick-action-box {
        padding: 16px 12px;
    }
    
    .quick-action-box .icon {
        font-size: 28px;
        margin-bottom: 8px;
    }
    
    .quick-action-box h4 {
        font-size: 14px;
    }
    
    .quick-action-box p {
        font-size: 12px;
    }
}

/* Very small phones - single column */
@media (max-width: 400px) {
    .quick-actions-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   QUICK ACTIONS - FIXED CLICKABLE & RESPONSIVE
   ============================================================ */

.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 35px;
}

.quick-action-box {
    display: block;
    background: #ffffff;
    padding: 24px 20px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid #e8edf2;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #0b2b3d;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    cursor: pointer;
}

.quick-action-box:hover {
    transform: translateY(-4px);
    border-color: #7ac943;
    box-shadow: 0 8px 30px rgba(122, 201, 67, 0.12);
}

.quick-action-box:active {
    transform: scale(0.97);
}

.quick-action-box .icon {
    font-size: 36px;
    display: block;
    margin-bottom: 12px;
}

.quick-action-box h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #0b2b3d;
}

.quick-action-box p {
    color: #6b7f8f;
    font-size: 14px;
    margin: 0;
}

/* For tablets */
@media (max-width: 992px) {
    .quick-actions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

/* For mobile phones */
@media (max-width: 576px) {
    .quick-actions-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    
    .quick-action-box {
        padding: 16px 12px;
    }
    
    .quick-action-box .icon {
        font-size: 28px;
        margin-bottom: 8px;
    }
    
    .quick-action-box h4 {
        font-size: 14px;
    }
    
    .quick-action-box p {
        font-size: 12px;
    }
}

/* For very small phones */
@media (max-width: 400px) {
    .quick-actions-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .quick-action-box {
        padding: 14px 16px;
        display: flex;
        align-items: center;
        text-align: left;
        gap: 14px;
    }
    
    .quick-action-box .icon {
        font-size: 28px;
        margin-bottom: 0;
        flex-shrink: 0;
        width: 48px;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #f0faf0;
        border-radius: 12px;
    }
    
    .quick-action-box h4 {
        font-size: 14px;
        margin-bottom: 2px;
    }
    
    .quick-action-box p {
        font-size: 12px;
    }
}

/* ============================================================
   CODEX PAWMATCH POLISH
   ============================================================ */
:root {
    --pm-navy: #102f3f;
    --pm-navy-soft: #183f52;
    --pm-green: #6fbd3e;
    --pm-green-dark: #4f9a2d;
    --pm-mint: #eef8ea;
    --pm-ink: #102636;
    --pm-muted: #617383;
    --pm-line: #dfe8ee;
    --pm-bg: #f5f8f4;
    --pm-card: #ffffff;
    --pm-shadow: 0 14px 40px rgba(16, 47, 63, 0.10);
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--pm-ink);
    background:
        radial-gradient(circle at top left, rgba(111, 189, 62, 0.12), transparent 34rem),
        linear-gradient(180deg, #f8fbf6 0%, var(--pm-bg) 100%);
}

.header {
    background: rgba(16, 47, 63, 0.94);
    box-shadow: 0 10px 30px rgba(16, 47, 63, 0.18);
}

.logo,
.sidebar-brand h2 {
    letter-spacing: 0;
}

.nav {
    gap: 12px;
}

.nav a {
    border-radius: 8px;
    padding: 8px 12px;
}

.nav a::after {
    display: none;
}

.nav a:hover,
.nav a.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.hero::before {
    background: linear-gradient(90deg, rgba(10, 30, 42, 0.78), rgba(10, 30, 42, 0.38), rgba(10, 30, 42, 0.08));
}

.content h1 {
    max-width: 760px;
    letter-spacing: 0;
}

.content p {
    max-width: 620px;
}

.btn,
button,
.login-btn,
.register-btn,
.btn-submit,
.btn-add,
.btn-primary,
.adopt-btn,
.btn-adopt {
    border-radius: 10px;
    background: linear-gradient(135deg, var(--pm-green), var(--pm-green-dark));
    box-shadow: 0 10px 24px rgba(111, 189, 62, 0.24);
}

.login-card,
.register-card,
.form-container,
.stat-card,
.quick-action-box,
.dog-card,
.requests-table-wrapper,
.activity-card,
.request-card,
.empty-state,
.adopt-container,
.dogs-table,
.requests-header,
.filter-tabs {
    border-radius: 14px !important;
    border: 1px solid var(--pm-line) !important;
    box-shadow: var(--pm-shadow) !important;
}

.dashboard-sidebar {
    background: linear-gradient(180deg, var(--pm-navy) 0%, var(--pm-navy-soft) 58%, #203b33 100%);
}

.sidebar-nav a {
    border-radius: 8px;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    background: rgba(111, 189, 62, 0.17);
}

.welcome-section {
    border-radius: 16px;
    background:
        linear-gradient(135deg, rgba(16, 47, 63, 0.96), rgba(32, 75, 67, 0.94)),
        linear-gradient(135deg, var(--pm-green), transparent);
}

.stat-card,
.quick-action-box,
.dog-card,
.activity-card,
.request-card {
    transform: translateZ(0);
}

.stat-card:hover,
.quick-action-box:hover,
.dog-card:hover,
.activity-card:hover,
.request-card:hover {
    transform: translateY(-4px);
    border-color: rgba(111, 189, 62, 0.75) !important;
}

input,
textarea,
select {
    border-radius: 10px !important;
    border-color: #d7e3ea !important;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--pm-green) !important;
    box-shadow: 0 0 0 4px rgba(111, 189, 62, 0.14) !important;
}

.status-badge.available,
.status-badge-sm.approved,
.status-badge.approved {
    background: #eaf7e6 !important;
    color: #287a38 !important;
}

.status-badge.pending,
.status-badge-sm.pending {
    background: #fff5df !important;
    color: #a66300 !important;
}

.status-badge.adopted,
.status-badge.rejected,
.status-badge-sm.rejected {
    background: #fdebea !important;
    color: #b8322a !important;
}

.dog-image,
.dog-img,
.no-image {
    background: linear-gradient(135deg, #e9f6e4, #d7efcc) !important;
}

.requests-table th {
    background: #f3f7f1;
    color: var(--pm-muted);
}

.btn-approve,
.btn-reject,
.action-muted {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 2px;
}

.action-muted {
    color: var(--pm-muted);
    font-size: 13px;
    font-weight: 600;
}

@media (max-width: 768px) {
    .header {
        padding: 14px 18px;
    }

    .nav {
        gap: 8px;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .nav a {
        font-size: 13px;
        padding: 6px 8px;
    }

    .hero {
        min-height: 92vh;
        height: auto;
        padding: 120px 24px 64px;
    }

    .content h1 {
        font-size: 42px;
    }

    .content p {
        font-size: 17px;
    }

    .dashboard-main {
        padding: 22px 16px 40px !important;
    }
}

/* CODEX PAWMATCH FINAL POLISH */
.dashboard-main,
main {
    animation: pmFadeIn .35s ease both;
}

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

.page-header,
.users-page-header,
.requests-header {
    background: linear-gradient(135deg, #ffffff, #f5faf2);
    padding: 22px 26px;
    border: 1px solid var(--pm-line, #dfe8ee);
    border-radius: 14px;
    box-shadow: var(--pm-shadow, 0 14px 40px rgba(16,47,63,.10));
}

.table-wrapper,
.requests-table-wrapper,
.dogs-table {
    overflow-x: auto;
}

.table-wrapper table,
.requests-table {
    width: 100%;
}

.btn-back,
.btn-cancel,
.btn-delete,
.btn-del,
.remove-btn {
    border-radius: 10px;
}

.dog-card .dog-name,
.dog-card .name,
.section-header h2,
.page-header h1 {
    letter-spacing: 0;
}

.form-row {
    align-items: start;
}

.alert {
    border-radius: 10px;
}

@media (max-width: 640px) {
    .page-header,
    .users-page-header,
    .requests-header {
        padding: 18px;
    }

    .stat-card .stat-number {
        font-size: 28px;
    }

    .quick-action-box {
        min-height: 120px;
    }

    .requests-table th,
    .requests-table td,
    .table-wrapper th,
    .table-wrapper td {
        padding: 12px;
    }
}
