.auth-container{display:flex;height:100vh;justify-content:center;align-items:center;background:#f5f5f5}.auth-form{background:#fff;padding:2rem 3rem;border-radius:12px;box-shadow:0 0 15px #0000001a;width:320px;text-align:center}.auth-form h2{margin-bottom:1.5rem;color:#333}.auth-form input{width:100%;padding:.75rem;margin-bottom:1rem;border-radius:8px;border:1px solid #ccc;font-size:1rem}.auth-form button{width:100%;padding:.75rem;border:none;border-radius:8px;background-color:#007bff;color:#fff;font-size:1rem;cursor:pointer;transition:background .3s ease}.auth-form button:hover{background-color:#0056b3}.switch-link{margin-top:1rem;font-size:.9rem}.switch-link a{color:#007bff;text-decoration:none}.switch-link a:hover{text-decoration:underline}.error{color:red;font-size:.85rem}.imageUpload{display:flex;justify-content:center;margin-bottom:20px}.imagePreview{width:120px;height:120px;background-color:#f3f4f6;border:2px dashed #ccc;border-radius:50%;display:flex;justify-content:center;align-items:center;cursor:pointer;overflow:hidden;transition:border .3s}.imagePreview:hover{border-color:#007bff}.uploadedImage{width:100%;height:100%;object-fit:cover}.uploadText{font-size:"14px";color:"#6b7280";text-align:"center"}.hiddenInput{display:none}.password-field{position:relative;display:flex;align-items:center}.password-field input{width:100%;padding-right:35px}.toggle-password{position:absolute;right:10px;cursor:pointer;color:#6b7280;margin-bottom:10px}*{margin:0;border:0;box-sizing:border-box}.dashboard-container{display:flex;flex-direction:column;min-height:100vh}.dashboard-main{display:flex;flex:1;padding:16px;gap:16px;background-color:#f9fafb}.left-section{flex:3.5;background-color:#fff;padding:16px;border-radius:8px;box-shadow:0 2px 8px #0000000d;overflow-y:auto}.right-section{flex:1.5;background-color:#fff;padding:16px;border-radius:8px;box-shadow:0 2px 8px #0000000d;overflow-y:auto}@media (max-width: 768px){.dashboard-main{flex-direction:column}.left-section,.right-section{width:100%}}.header{display:flex;justify-content:space-between;align-items:center;background-color:#949599;color:#fff;padding:12px 24px;box-shadow:0 2px 5px #0000001a}.logo{font-size:24px;font-weight:700;margin:0}.profile-menu{position:relative}.avatar{width:40px;height:40px;border-radius:50%;object-fit:cover;cursor:pointer;border:2px solid white}.dropdown{position:absolute;top:48px;right:0;background-color:#fff;border-radius:4px;overflow:hidden;box-shadow:0 2px 10px #00000026;z-index:1000;min-width:120px}.dropdown button{width:100%;padding:10px;background:#fff;border:none;text-align:left;color:#333;cursor:pointer;font-size:14px}.dropdown button:hover{background-color:#f3f4f6}.search-container{background-color:#f9fafb;padding:16px;display:flex;justify-content:center;box-shadow:0 2px 4px #0000000d}.search-bar{display:flex;flex-direction:row;justify-content:space-around;align-items:center}.search-bar input{width:300px;padding:8px 12px;border-radius:4px 0 0 4px;border:1px solid #ccc;outline:none}.search-bar button{padding:8px 12px;border:none;border-radius:0 4px 4px 0;background-color:#a1a2a3;color:#fff;font-weight:700;cursor:pointer}.search-bar button:hover{background-color:#9ea0a7}.back-to-all{background-color:#a1a2a3;color:#fff;padding:12px 20px;margin-top:20px;margin-left:400px;font-size:16px;border:none;border-radius:8px;cursor:pointer;transition:background-color .3s ease}.right-section h2{margin-bottom:16px;font-size:20px;color:#111827}.add-memory-form{display:flex;flex-direction:column;gap:12px}.add-memory-form label{font-weight:500;color:#374151}.add-memory-form input[type=text],.add-memory-form textarea,.add-memory-form input[type=file]{padding:8px 12px;font-size:14px;border-radius:4px;border:1px solid #d1d5db}.add-memory-form button{background-color:#a1a2a3;color:#fff;font-weight:700;border:none;padding:10px;border-radius:4px;cursor:pointer;margin-top:8px}.add-memory-form button:hover{background-color:#9ea0a7}.left-section h2{margin-bottom:24px;font-size:32px;color:#111827;text-align:center}.memory-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.memory-card{background-color:#fff;padding:.4rem;border-radius:8px;box-shadow:0 4px 12px #00000014;transition:transform .2s,box-shadow .2s;cursor:pointer;height:300px;overflow:hidden}.memory-card h3{margin-bottom:8px;font-size:22px;color:#111827;text-align:center}.image-box{width:250px;height:200px;overflow:hidden;border-radius:8px;border:1px solid #ccc;margin-top:1rem;margin-left:1.2rem;margin-bottom:1rem}.image-box img{width:100%;height:100%;object-fit:cover;display:block}.memory-card p{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.memory-card:hover{transform:translateY(-4px);box-shadow:0 6px 16px #0000001a}.delete-all-btn{background-color:#e74c3c;color:#fff;padding:12px 20px;margin-top:20px;font-size:16px;border:none;border-radius:8px;cursor:pointer;transition:background-color .3s ease,transform .2s ease;width:fit-content;max-width:100%}.delete-all-btn:hover{background-color:#c0392b;transform:scale(1.03)}.delete-all-btn:active{transform:scale(.98)}.pagination{display:flex;justify-content:center;align-items:center;gap:8px;margin-top:20px;flex-wrap:wrap}.pagination button{padding:8px 12px;border:1px solid #d1d5db;background-color:#fff;color:#374151;border-radius:4px;font-size:14px;cursor:pointer;transition:all .2s}.pagination button:hover{background-color:#f3f4f6}.pagination button.active{background-color:#a1a2a3;color:#fff;border-color:#a1a2a3}.pagination button:disabled{cursor:not-allowed;opacity:.5}.loading{text-align:center;font-size:18px;margin:20px 0;color:#555}.delete-mem-btn{background-color:#e74c3c;color:#fff;padding:12px 20px;margin-top:20px;margin-left:25rem;font-size:16px;border:none;border-radius:8px;cursor:pointer;transition:background-color .3s ease}.delete-mem-btn:hover{background-color:#c0392b}.display-memory-container{max-width:900px;margin:20px auto;padding:20px;text-align:center;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif}.display-memory-container h1{font-size:2.2rem;margin-bottom:25px;color:#333}.memory-box{background-color:#fff;padding:30px;border-radius:16px;box-shadow:0 4px 16px #0000001a;margin-bottom:30px;text-align:left}.memory-box h1{font-size:1.5rem;color:#555;margin-top:20px;margin-bottom:8px}.memory-box h2{font-size:1.2rem;margin:0;color:#222}.memory-box p{font-size:1.1rem;color:#444;line-height:1.6}.memory-image{width:100%;max-height:400px;object-fit:cover;border-radius:12px;margin-top:20px;box-shadow:0 2px 12px #00000014}.memory-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:20px;margin-top:30px}.memory-actions button{padding:12px 24px;font-size:16px;font-weight:700;border:none;border-radius:8px;cursor:pointer;transition:transform .2s ease,background-color .3s ease}.memory-actions button:hover{transform:scale(1.05)}.back-btn{background-color:#6b7280;color:#fff}.edit-btn{background-color:#3b82f6;color:#fff}.delete-btn{background-color:#ef4444;color:#fff}@media (max-width: 600px){.display-memory-container{padding:15px}.memory-box{padding:20px}.memory-actions{flex-direction:column;gap:15px}.memory-actions button{width:100%}}.profile-container{display:flex;justify-content:center;padding:50px 20px}.profile-card{background-color:#f9fafb;border-radius:12px;padding:30px;max-width:500px;width:100%;text-align:center;box-shadow:0 4px 10px #0000001a}.profile-avatar{width:120px;height:120px;border-radius:50%;object-fit:cover;margin-bottom:20px;border:3px solid #3b82f6}.profile-card h2{margin-bottom:10px;color:#111827}.profile-card p{margin:5px 0;color:#374151}.profile-actions{margin-top:25px;display:flex;justify-content:center;gap:15px;flex-wrap:wrap}.edit-btn,.delete-btn,.back-btn{padding:10px 20px;border:none;border-radius:8px;font-weight:700;cursor:pointer;transition:background-color .3s ease;color:#fff}.edit-btn{background-color:#3b82f6}.edit-btn:hover{background-color:#2563eb}.delete-btn{background-color:#ef4444}.back-btn{background-color:#6b7280}.back-btn:hover{background-color:#4b5563}.admin-dashboard{max-width:1000px;margin:30px auto;padding:20px;background-color:#fff;border-radius:12px;box-shadow:0 0 10px #0000001a}.admin-dashboard h1{text-align:center;margin-bottom:20px}.search-bar{text-align:right;margin-bottom:15px}.search-bar input{padding:8px 12px;width:250px;border:1px solid #ccc;border-radius:6px}.user-table{width:100%;border-collapse:collapse}.user-table th,.user-table td{padding:12px;border-bottom:1px solid #ddd;text-align:left}.user-table th{background-color:#f3f4f6}.delete-btn{background-color:#ef4444;color:#fff;padding:8px 12px;border:none;border-radius:5px;cursor:pointer}.delete-btn:hover{background-color:#dc2626}.delete-all-btn{background-color:#e74c3c;color:#fff;padding:12px 20px;margin-top:20px;margin-left:400px;font-size:16px;border:none;border-radius:8px;cursor:pointer;transition:background-color .3s ease}.delete-all-btn:hover{background-color:#c0392b}.profile-container{max-width:400px;margin:50px auto;padding:2px;background-color:#fff;border-radius:12px;box-shadow:0 8px 24px #0000001a}.profile-form{display:flex;flex-direction:column;width:300px}.profile-header h2{margin-bottom:20px;text-align:center;color:#333;margin-top:18px}.profile-form input{margin-bottom:16px;padding:12px 14px;border:1px solid #ccc;border-radius:8px;font-size:15px;transition:border-color .3s ease}.profile-form input:focus{border-color:#007bff;outline:none}.profile-form button{padding:12px;background-color:#007bff;color:#fff;font-weight:600;font-size:16px;border:none;border-radius:8px;cursor:pointer;transition:background .3s ease;margin-bottom:20px}.profile-form button:hover:not(:disabled){background-color:#0056b3}.profile-form button:disabled{background-color:#9bbdf4;cursor:not-allowed}.imageUploadp{display:flex;justify-content:center;margin-bottom:20px}.imagePreviewp{width:120px;height:120px;background-color:#f3f4f6;border:2px dashed #ccc;border-radius:50%;display:flex;justify-content:center;align-items:center;cursor:pointer;overflow:hidden;transition:border .3s}.imagePreviewp:hover{border-color:#007bff}.uploadedImagep{width:100%;height:100%;object-fit:cover}.hiddenInputp{display:none}.profile-header{display:flex;align-items:center;gap:60px;margin-bottom:25px}@media (max-width: 600px){.profile-container{padding:20px}.imagePreviewp{width:100px;height:100px}.profile-form input,.profile-form button{font-size:14px}}.edit-memory-container{max-width:1000px;margin:40px auto;padding:24px;background:#fff;border-radius:16px;box-shadow:0 6px 18px #0000001a;font-family:Segoe UI,sans-serif}.edit-header h2{text-align:center;margin-bottom:25px;font-size:32px;color:#333}.edit-memory{display:flex;flex-direction:column;gap:16px}.edit-memory label{font-weight:600;color:#555;margin-bottom:4px}.edit-memory input[type=text],.edit-memory textarea{padding:12px;font-size:15px;border:1px solid #ccc;border-radius:10px;outline:none;transition:border-color .3s}.edit-memory input[type=text]:focus,.edit-memory textarea:focus{border-color:#4f46e5}.edit-memory textarea{resize:vertical}.imageUploade{display:flex;justify-content:center;align-items:center;margin-top:8px}.imagePreviewe{width:500px;height:400px;border:2px dashed #9ca3af;border-radius:12px;display:flex;justify-content:center;align-items:center;cursor:pointer;overflow:hidden;background-color:#f9f9f9;transition:border .3s}.imagePreviewe:hover{border-color:#4f46e5}.uploadedImagee{width:100%;height:100%;object-fit:cover}.hiddenInpute{display:none}.edit-memory button[type=submit]{padding:12px;font-size:16px;background-color:#a1a2a3;color:#fff;border:none;border-radius:10px;cursor:pointer;transition:background-color .3s}.edit-memory button[type=submit]:hover{background-color:#a1a2a3}.edit-memory button[type=submit]:disabled{background-color:#a5b4fc;cursor:not-allowed}.edit-header{display:flex;align-items:center;gap:360px;margin-bottom:25px}.back-arrow{cursor:pointer;color:#4b5563;transition:color .2s ease;font-size:24px}.back-arrow:hover{color:#1f2937}
