*{box-sizing:border-box}html{scroll-behavior:smooth}body{color:#111;background:#fafafa;margin:0;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}button,input{font-family:inherit}.admin-layout{background:#f7f8fc;min-height:100vh}.admin-sidebar{box-sizing:border-box;color:#fff;z-index:1000;background:#171827;flex-direction:column;width:240px;height:100vh;padding:25px 18px;display:flex;position:fixed;top:0;left:0}.admin-logo{margin-bottom:45px;padding-left:10px;font-size:21px;font-weight:700}.admin-logo span{margin-right:7px;font-size:26px}.admin-sidebar nav{flex-direction:column;gap:8px;display:flex}.admin-sidebar nav a{color:#c7c8d4;cursor:pointer;border-radius:8px;padding:13px 15px;font-size:14px;text-decoration:none}.admin-sidebar nav a:hover,.admin-sidebar nav a.active{color:#fff;background:#34354b}.logout-btn{color:#ddd;cursor:pointer;background:#292a3d;border:none;border-radius:8px;width:100%;margin-top:auto;padding:13px;font-size:14px}.logout-btn:hover{color:#fff;background:#3a3b50}.admin-content{box-sizing:border-box;min-width:0;min-height:100vh;margin-left:240px;padding:30px}@media (width<=768px){.admin-sidebar{width:200px}.admin-content{margin-left:200px;padding:20px}}.admin-login-page{background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);justify-content:center;align-items:center;min-height:100vh;padding:20px;display:flex}.admin-login-box{text-align:center;background:#fffffff2;border-radius:20px;width:100%;max-width:420px;padding:40px;box-shadow:0 20px 50px #0003}.admin-icon{background:#667eea;border-radius:50%;justify-content:center;align-items:center;width:70px;height:70px;margin:0 auto 20px;font-size:32px;display:flex}.admin-login-box h1{color:#222;margin:0;font-size:30px}.admin-login-box p{color:#777;margin-top:10px;margin-bottom:30px;font-size:15px}.input-group{text-align:left;margin-bottom:20px}.input-group label{color:#333;margin-bottom:8px;font-size:14px;font-weight:600;display:block}.input-group input{box-sizing:border-box;border:1px solid #ddd;border-radius:10px;outline:none;width:100%;padding:13px 15px;font-size:15px;transition:all .3s}.input-group input:focus{border-color:#667eea;box-shadow:0 0 0 3px #667eea26}.admin-login-btn{color:#fff;cursor:pointer;background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:10px;width:100%;margin-top:10px;padding:14px;font-size:16px;font-weight:600;transition:all .3s}.admin-login-btn:hover{transform:translateY(-2px);box-shadow:0 8px 20px #667eea59}@media (width<=500px){.admin-login-box{padding:30px 20px}.admin-login-box h1{font-size:26px}}.admin-main{box-sizing:border-box;width:100%;min-height:100vh}.admin-header{justify-content:space-between;align-items:center;margin-bottom:45px;display:flex}.dashboard-heading{flex-direction:column;display:flex}.welcome-text{color:#6366f1;margin-bottom:8px;font-size:14px;font-weight:600}.dashboard-heading h1{color:#18181b;margin:0;font-size:34px;font-weight:700}.dashboard-heading p{color:#71717a;margin:8px 0 0;font-size:15px}.dashboard-date{background:#fff;border:1px solid #e4e4e7;border-radius:12px;flex-direction:column;padding:14px 20px;display:flex;box-shadow:0 4px 15px #0000000a}.dashboard-date span{color:#a1a1aa;margin-bottom:4px;font-size:12px}.dashboard-date strong{color:#27272a;font-size:14px}.dashboard-section{margin-bottom:45px}.section-title{justify-content:space-between;align-items:center;margin-bottom:20px;display:flex}.section-title h2{color:#18181b;margin:0;font-size:20px}.section-title p{color:#71717a;margin:5px 0 0;font-size:14px}.dashboard-cards{grid-template-columns:repeat(2,1fr);gap:24px;display:grid}.dashboard-card{background:#fff;border:1px solid #e4e4e7;border-radius:18px;min-height:235px;padding:28px;transition:transform .25s,box-shadow .25s;position:relative;box-shadow:0 8px 30px #0000000d}.dashboard-card:hover{transform:translateY(-4px);box-shadow:0 15px 35px #00000017}.card-top{justify-content:space-between;align-items:center;display:flex}.card-icon{border-radius:14px;justify-content:center;align-items:center;width:52px;height:52px;font-size:24px;display:flex}.image-icon{background:#eef2ff}.prompt-icon{background:#fef3c7}.card-label{letter-spacing:.8px;color:#a1a1aa;font-size:11px;font-weight:700}.card-content{margin-top:28px}.card-content h3{color:#71717a;margin:0 0 8px;font-size:15px;font-weight:500}.stat-number{color:#18181b;margin:0;font-size:42px;font-weight:700;line-height:1}.stat-description{color:#71717a;margin-top:12px;font-size:13px;display:block}.card-footer{border-top:1px solid #f0f0f2;padding-top:15px;position:absolute;bottom:20px;left:28px;right:28px}.card-footer span{color:#71717a;font-size:12px}.quick-section{margin-bottom:35px}.quick-cards{grid-template-columns:repeat(3,1fr);gap:18px;display:grid}.quick-card{cursor:pointer;background:#fff;border:1px solid #e4e4e7;border-radius:14px;align-items:center;gap:15px;padding:20px;transition:all .25s;display:flex}.quick-card:hover{border-color:#c7d2fe;transform:translateY(-3px);box-shadow:0 10px 25px #0000000f}.quick-icon{color:#4f46e5;background:#f4f4f5;border-radius:11px;justify-content:center;align-items:center;min-width:44px;height:44px;font-size:22px;font-weight:600;display:flex}.quick-card h3{color:#27272a;margin:0 0 5px;font-size:14px}.quick-card p{color:#71717a;margin:0;font-size:12px;line-height:1.5}.dashboard-info{color:#fff;background:#181827;border-radius:16px;align-items:center;gap:18px;margin-top:10px;padding:24px;display:flex}.info-icon{background:#34354b;border-radius:12px;justify-content:center;align-items:center;min-width:48px;height:48px;font-size:22px;display:flex}.dashboard-info h3{margin:0 0 6px;font-size:16px}.dashboard-info p{color:#c7c8d4;max-width:750px;margin:0;font-size:13px;line-height:1.6}@media (width<=900px){.dashboard-cards,.quick-cards{grid-template-columns:1fr}}@media (width<=600px){.admin-header{flex-direction:column;align-items:flex-start;gap:20px}.dashboard-date{box-sizing:border-box;width:100%}.dashboard-heading h1{font-size:28px}.dashboard-card{padding:22px}.stat-number{font-size:36px}}.manage-images-page{box-sizing:border-box;background:#f5f7fb;width:100%;min-height:100vh;padding:30px;font-family:Arial,sans-serif}.manage-images-header{justify-content:space-between;align-items:center;margin-bottom:25px;display:flex}.manage-images-header h1{color:#20212c;margin:0;font-size:28px}.manage-images-header p{color:#888;margin-top:8px;font-size:14px}.add-image-button{color:#fff;cursor:pointer;background:#171827;border:none;border-radius:8px;padding:13px 20px;font-size:14px;font-weight:600}.add-image-button:hover{background:#34354b}.image-toolbar{background:#fff;border-radius:12px;gap:15px;margin-bottom:20px;padding:18px;display:flex}.search-box{border:1px solid #ddd;border-radius:8px;flex:1;align-items:center;gap:10px;padding:0 12px;display:flex}.search-box input{border:none;outline:none;width:100%;padding:12px 5px;font-size:14px}.category-filter{color:#444;background:#fff;border:1px solid #ddd;border-radius:8px;outline:none;padding:0 15px}.images-table-container{background:#fff;border-radius:12px;width:100%;overflow-x:auto;box-shadow:0 3px 15px #0000000a}.images-table{border-collapse:collapse;table-layout:fixed;width:100%;min-width:100%}.images-table th{text-align:left;color:#555;background:#fafafa;border-bottom:1px solid #eee;padding:13px 16px;font-size:14px;font-weight:600}.images-table td{vertical-align:middle;color:#333;border-bottom:1px solid #eee;padding:12px 16px;font-size:14px}.images-table tbody tr:hover{background:#fafbff}.images-table th:first-child{width:10%}.images-table th:nth-child(2){width:15%}.images-table th:nth-child(3){width:20%}.images-table th:nth-child(4){width:12%}.images-table th:nth-child(5){width:28%}.images-table th:nth-child(6){width:15%}.table-image{object-fit:cover;border-radius:8px;width:75px;height:55px}.category-badge{color:#4a4b60;background:#f0f1f7;border-radius:20px;padding:6px 10px;font-size:12px;font-weight:600;display:inline-block}.prompt-text{color:#777;white-space:nowrap;text-overflow:ellipsis;width:100%;max-width:320px;margin:0;font-size:13px;line-height:1.4;overflow:hidden}.table-actions{gap:8px;display:flex}.edit-button,.delete-button{cursor:pointer;border:none;border-radius:6px;padding:8px 12px;font-size:12px;font-weight:600}.edit-button{color:#4549a5;background:#eef0ff}.edit-button:hover{background:#dfe2ff}.delete-button{color:#d33;background:#fff0f0}.delete-button:hover{background:#ffe0e0}.no-images{text-align:center;color:#999;padding:50px}.modal-overlay{z-index:9999;box-sizing:border-box;background:#0009;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0;overflow-y:auto}.add-image-form-container{box-sizing:border-box;background:#fff;border-radius:14px;width:100%;max-width:600px;max-height:90vh;padding:25px;animation:.2s ease-out popup;overflow-y:auto;box-shadow:0 20px 50px #0000004d}.add-image-form-header{justify-content:space-between;align-items:center;margin-bottom:22px;display:flex}.add-image-form-header h2{color:#20212c;margin:0;font-size:24px}.close-form-button{color:#555;cursor:pointer;background:0 0;border:none;border-radius:50%;justify-content:center;align-items:center;width:36px;height:36px;font-size:22px;display:flex}.close-form-button:hover{color:#222;background:#f1f1f1}.form-group{flex-direction:column;gap:7px;margin-bottom:18px;display:flex}.form-group label{color:#333;font-size:14px;font-weight:600}.form-group input,.form-group select,.form-group textarea{box-sizing:border-box;color:#333;background:#fff;border:1px solid #d1d5db;border-radius:8px;outline:none;width:100%;padding:11px 13px;font-size:14px}.form-group textarea{resize:vertical;min-height:120px}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{border-color:#6366f1;box-shadow:0 0 0 3px #6366f11f}.form-group .table-image{object-fit:cover;border:1px solid #eee;border-radius:10px;width:120px;height:90px}.form-actions{justify-content:flex-end;gap:12px;margin-top:22px;display:flex}.cancel-button,.upload-button{cursor:pointer;border:none;border-radius:8px;padding:11px 20px;font-size:14px;font-weight:600}.cancel-button{color:#333;background:#eee}.cancel-button:hover{background:#ddd}.upload-button{color:#fff;background:#4f46e5}.upload-button:hover{background:#4338ca}.upload-button:disabled{opacity:.6;cursor:not-allowed}@keyframes popup{0%{opacity:0;transform:scale(.97)}to{opacity:1;transform:scale(1)}}@media (width<=768px){.manage-images-page{padding:20px}.manage-images-header{flex-direction:column;align-items:flex-start;gap:15px}.image-toolbar{flex-direction:column}.category-filter{height:42px}.modal-overlay{align-items:center;padding:15px}.add-image-form-container{border-radius:12px;max-height:92vh;padding:20px}.add-image-form-header h2{font-size:20px}.form-actions{flex-direction:column}.cancel-button,.upload-button{width:100%}}@media (width<=480px){.manage-images-page{padding:15px}.add-image-form-container{padding:18px}.form-group input,.form-group select,.form-group textarea{font-size:13px}.form-group .table-image{width:100px;height:75px}}.image-details-page{box-sizing:border-box;background:#f6f7fb;min-height:100vh;padding:40px 20px}.details-container{max-width:1200px;margin:0 auto}.back-button{color:#555;cursor:pointer;background:0 0;border:none;margin-bottom:25px;padding:8px 0;font-size:15px;font-weight:500;transition:all .2s}.back-button:hover{color:#111;transform:translate(-4px)}.details-card{background:#fff;border-radius:20px;grid-template-columns:1.15fr .85fr;min-height:600px;display:grid;overflow:hidden;box-shadow:0 10px 30px #00000014}.details-image-section{justify-content:center;align-items:center;padding:25px;display:flex}.details-image{object-fit:contain;border-radius:12px;width:100%;max-height:650px;transition:transform .4s}.details-image:hover{transform:scale(1.02)}.details-info{flex-direction:column;justify-content:center;padding:55px 45px;display:flex}.details-label{color:#6c63ff;letter-spacing:1.5px;margin-bottom:15px;font-size:12px;font-weight:700;display:inline-block}.details-info h1{color:#171717;margin:0 0 25px;font-size:36px;font-weight:700;line-height:1.2}.divider{background:#6c63ff;border-radius:10px;width:60px;height:4px;margin-bottom:35px}.prompt-section{width:100%}.prompt-header{justify-content:space-between;align-items:center;gap:15px;margin-bottom:15px;display:flex}.prompt-header h3{color:#222;margin:0;font-size:19px}.copy-button{color:#fff;cursor:pointer;background:#6c63ff;border:none;border-radius:8px;padding:10px 15px;font-size:13px;font-weight:600;transition:all .25s}.copy-button:hover{background:#574fd6;transform:translateY(-2px);box-shadow:0 5px 15px #6c63ff40}.prompt-box{background:#f7f7fa;border:1px solid #e8e8ee;border-radius:12px;max-height:250px;padding:20px;overflow-y:auto}.prompt-box p{color:#555;white-space:pre-wrap;margin:0;font-size:15px;line-height:1.7}.prompt-box::-webkit-scrollbar{width:6px}.prompt-box::-webkit-scrollbar-track{background:0 0}.prompt-box::-webkit-scrollbar-thumb{background:#c9c9d3;border-radius:10px}.details-loading{color:#555;background:#f6f7fb;flex-direction:column;justify-content:center;align-items:center;min-height:100vh;display:flex}.loading-spinner{border:4px solid #ddd;border-top-color:#6c63ff;border-radius:50%;width:35px;height:35px;margin-bottom:15px;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@media (width<=900px){.details-card{grid-template-columns:1fr}.details-image-section{min-height:450px}.details-info{padding:40px 30px}.details-info h1{font-size:30px}}@media (width<=600px){.image-details-page{padding:20px 12px}.details-card{border-radius:15px}.details-image-section{min-height:300px;padding:15px}.details-info{padding:30px 20px}.details-info h1{font-size:25px}.prompt-header{flex-direction:column;align-items:flex-start}.copy-button{width:100%}.prompt-box{max-height:300px}}.gallery-page{background:#f7f8fc;min-height:100vh;padding:0 7% 60px}.gallery-heading{text-align:center;padding:70px 20px 45px}.gallery-heading h1{color:#18181b;margin:0 0 14px;font-size:42px;font-weight:700}.gallery-heading p{color:#71717a;margin:0;font-size:17px;line-height:1.6}.gallery-search{justify-content:center;align-items:center;max-width:600px;margin:0 auto 25px;display:flex;position:relative}.gallery-search input{border:1px solid #ddd;border-radius:30px;outline:none;width:100%;padding:14px 45px 14px 20px;font-size:16px;transition:all .3s}.gallery-search input:focus{border-color:#666;box-shadow:0 0 0 3px #0000000d}.clear-search{cursor:pointer;color:#777;background:0 0;border:none;font-size:18px;position:absolute;right:15px}.category-buttons{flex-wrap:wrap;justify-content:center;align-items:center;gap:12px;margin-bottom:35px;display:flex}.category-buttons button{cursor:pointer;background:#fff;border:1px solid #ddd;border-radius:25px;padding:10px 22px;font-size:14px;transition:all .3s}.category-buttons button:hover{color:#111;background:#f2f2f2}.category-buttons .active-category{color:#fff;background:#111;border-color:#111}.gallery-grid{column-count:3;column-gap:28px}.image-loading{justify-content:center;align-items:center;min-height:300px;font-size:18px;display:flex}.gallery-card{cursor:pointer;break-inside:avoid;background:#ddd;border-radius:18px;width:100%;margin-bottom:28px;transition:transform .3s,box-shadow .3s;position:relative;overflow:hidden;box-shadow:0 8px 25px #00000014}.gallery-card:hover{transform:translateY(-5px);box-shadow:0 14px 35px #00000024}.gallery-card img{object-fit:contain;width:100%;height:auto;transition:transform .5s;display:block}.gallery-card:hover img{transform:scale(1.04)}.image-overlay{color:#fff;background:linear-gradient(#0000,#000000e6);padding:28px 24px 24px;transition:transform .4s;position:absolute;bottom:0;left:0;right:0;transform:translateY(100%)}.gallery-card:hover .image-overlay{transform:translateY(0)}.image-overlay h2{margin:0 0 8px;font-size:20px;font-weight:600}.image-overlay p{color:#eee;margin:0;font-size:14px;line-height:1.5}@media (width<=900px){.gallery-grid{column-count:2}}@media (width<=600px){.gallery-grid{column-count:1}.gallery-card{margin-bottom:20px}.image-overlay{transform:translateY(0)}}.pagination{justify-content:center;align-items:center;gap:8px;margin:50px 0 70px;display:flex}.pagination button{color:#333;cursor:pointer;background:#fff;border:1px solid #ddd;border-radius:7px;min-width:42px;padding:9px 14px;font-size:14px;transition:all .2s}.pagination button:hover:not(:disabled){background:#f0f0f2}.pagination button:disabled{opacity:.45;cursor:not-allowed}.pagination .active-page{color:#fff;background:#111827;border-color:#111827}.gallery-banner{text-align:center;color:#fff;background:linear-gradient(135deg,#111827,#312e81);border-radius:24px;margin:20px 0 80px;padding:65px 50px;box-shadow:0 15px 40px #0000001f}.gallery-banner h2{margin:0 0 15px;font-size:32px;font-weight:700}.gallery-banner p{color:#d4d4d8;max-width:650px;margin:0 auto 25px;font-size:16px;line-height:1.6}.gallery-banner button{color:#18181b;cursor:pointer;background:#fff;border:none;border-radius:8px;padding:12px 26px;font-size:15px;font-weight:600;transition:all .25s}.gallery-banner button:hover{background:#f4f4f5;transform:translateY(-2px)}.gallery-footer{text-align:center;color:#71717a;border-top:1px solid #e5e7eb;padding:45px 0 10px}.gallery-footer h3{color:#18181b;margin:0 0 10px;font-size:20px}.gallery-footer p{margin:0 0 15px;font-size:14px}.gallery-footer button{color:#4f46e5;cursor:pointer;background:0 0;border:none;font-weight:600}.gallery-footer button:hover{text-decoration:underline}.gallery-footer small{color:#a1a1aa;margin-top:25px;display:block}@media (width<=900px){.gallery-grid{grid-template-columns:repeat(2,1fr)}.gallery-heading h1{font-size:36px}}@media (width<=600px){.gallery-page{padding:0 20px 40px}.gallery-heading{padding:45px 10px 35px}.gallery-heading h1{font-size:30px}.gallery-heading p{font-size:15px}.gallery-grid{grid-template-columns:1fr;gap:20px}.gallery-card{height:320px}.image-overlay{transform:translateY(0)}.pagination{flex-wrap:wrap;margin:40px 0 55px}.gallery-banner{margin-bottom:60px;padding:45px 25px}.gallery-banner h2{font-size:26px}}.navbar{z-index:1000;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#ffffffe6;border-bottom:1px solid #eee;width:100%;position:sticky;top:0}.navbar-container{justify-content:space-between;align-items:center;max-width:1200px;height:72px;margin:auto;padding:0 24px;display:flex}.logo{color:#111;font-size:22px;font-weight:700;text-decoration:none}.nav-links{gap:32px;display:flex}.nav-links a{color:#555;font-size:15px;font-weight:500;text-decoration:none;transition:all .2s}.nav-links a:hover{color:#111}.login-btn{color:#fff;background:#111;border-radius:10px;padding:10px 18px;font-size:14px;font-weight:600;text-decoration:none;transition:all .2s}.login-btn:hover{background:#333}
