:root { --primary: #FF9933; --blue: #000080; --purple: #6c5ce7; --dark: #222; --light: #f0f2f5; --glass: rgba(255, 255, 255, 0.95); --shadow: 0 8px 32px rgba(0,0,0,0.1); }
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; }
body { background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%); color: var(--dark); overflow-x: hidden; min-height: 100vh; }

/* ANIMATIONS */
@keyframes slideDown { from { transform: translateY(-50px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes slideUp { from { transform: translateY(50px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes scaleIn { from { transform: scale(0.95); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.7; } }
@keyframes float { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-10px); } }

/* TOAST */
#toast-container { position: fixed; top: 20px; left: 50%; transform: translateX(-50%); z-index: 9999; display: flex; flex-direction: column; gap: 10px; width: 300px; }
.toast { background: white; padding: 14px 24px; border-radius: 12px; box-shadow: var(--shadow); display: flex; align-items: center; justify-content: center; gap: 12px; animation: slideDown 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); font-weight: 600; border: 1px solid #ddd; }
.toast.success { border-left: 4px solid #2ecc71; color: #27ae60; } 
.toast.error { border-left: 4px solid #e74c3c; color: #c0392b; }

/* NAVBAR & OFF-CANVAS */
.navbar { position: fixed; top: 0; width: 100%; height: 70px; background: var(--glass); backdrop-filter: blur(10px); display: flex; justify-content: space-between; align-items: center; padding: 0 5%; box-shadow: 0 4px 15px rgba(0,0,0,0.08); z-index: 1000; }
.logo { font-size: 1.5rem; font-weight: 800; color: var(--blue); cursor: pointer; transition: 0.3s; display: flex; align-items: center; }
.logo-img { height: 55px; width: auto; object-fit: contain; transition: all 0.3s ease; }
.logo:hover { transform: scale(1.05); }
.logo:hover .logo-img { filter: brightness(0.9); }
.nav-right { display: flex; align-items: center; gap: 15px; }
.profile-trigger img { width: 45px; height: 45px; border-radius: 50%; cursor: pointer; border: 2px solid var(--primary); transition: 0.3s; }
.profile-trigger img:hover { transform: scale(1.15) rotate(5deg); box-shadow: 0 0 20px var(--primary); }

.off-canvas { position: fixed; top: 0; right: -300px; width: 280px; height: 100%; background: linear-gradient(180deg, #f8f9fa, #ffffff); z-index: 2000; box-shadow: -8px 0 30px rgba(0,0,0,0.2); transition: 0.4s cubic-bezier(0.77, 0, 0.175, 1); display: flex; flex-direction: column; overflow-y: auto; }
.off-canvas.open { right: 0; }
.off-canvas-header { padding: 30px 20px; background: linear-gradient(135deg, var(--blue), #4b6cb7); color: white; display: flex; align-items: center; gap: 15px; position: relative; box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
.oc-user-info { flex: 1; }
.oc-user-info h4 { margin: 0 0 8px 0; font-size: 1.1rem; font-weight: 700; }
.avatar-medium { width: 55px; height: 55px; border-radius: 50%; border: 3px solid white; object-fit: cover; box-shadow: 0 4px 12px rgba(0,0,0,0.2); }
.badge { padding: 5px 12px; border-radius: 20px; font-size: 0.65rem; background: rgba(255,255,255,0.25); text-transform: uppercase; letter-spacing: 1px; font-weight: 700; color: white; display: inline-block; }
.close-oc { position: absolute; top: 15px; right: 15px; width: 35px; height: 35px; background: rgba(255,255,255,0.2); border: none; border-radius: 50%; color: white; font-size: 1.5rem; cursor: pointer; transition: all 0.3s; display: flex; align-items: center; justify-content: center; }
.close-oc:hover { background: rgba(255,255,255,0.35); transform: rotate(90deg); }
.oc-links { list-style: none; padding: 10px 15px; flex: 1; }
.oc-links li { margin: 8px 0; }
.oc-links a { font-size: 0.95rem; color: #555; cursor: pointer; display: flex; align-items: center; gap: 15px; transition: all 0.3s ease; font-weight: 500; padding: 12px 15px; border-radius: 10px; border-left: 3px solid transparent; }
.oc-links a i { width: 20px; text-align: center; }
.oc-links a:hover { color: var(--primary); transform: translateX(5px); background: linear-gradient(90deg, rgba(255,153,51,0.15), transparent); border-left-color: var(--primary); }
.logout-li { margin-top: auto; border-top: 2px solid #eee; padding-top: 15px; margin-bottom: 20px; }
.logout-li a { color: #e74c3c; }
.logout-li a:hover { background: rgba(231,76,60,0.1); border-left-color: #e74c3c; color: #c0392b; }
.oc-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 1500; display: none; backdrop-filter: blur(3px); }
.oc-overlay.show { display: block; }

/* PAGES */
.page-view { display: none; padding: 100px 5% 50px; min-height: 100vh; animation: fadeIn 0.5s; }
.page-view.active { display: block; }

/* BUTTONS - MODERN DESIGN */
.btn-primary { background: linear-gradient(135deg, #FF9933, #FF7700); color: white; border: none; padding: 12px 28px; border-radius: 12px; cursor: pointer; font-weight: 700; box-shadow: 0 8px 25px rgba(255, 153, 51, 0.4); transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1); margin: 8px; position: relative; overflow: hidden; letter-spacing: 0.5px; }
.btn-primary::before { content: ''; position: absolute; top: 50%; left: 50%; width: 0; height: 0; background: rgba(255,255,255,0.4); border-radius: 50%; transform: translate(-50%, -50%); transition: width 0.6s, height 0.6s; }
.btn-primary:hover { transform: translateY(-4px) scale(1.02); box-shadow: 0 14px 40px rgba(255, 153, 51, 0.5); }
.btn-primary:hover::before { width: 300px; height: 300px; }
.btn-primary:active { transform: translateY(-1px) scale(0.98); }
.btn-login { border: 2px solid var(--blue); color: var(--blue); background: transparent; padding: 10px 25px; border-radius: 50px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; margin: 8px; }
.btn-login:hover { background: var(--blue); color: white; transform: translateY(-2px); box-shadow: 0 6px 15px rgba(0,0,128,0.2); }

/* BACK BUTTON STYLING */
.back-link { background: linear-gradient(135deg, var(--primary), #ff7700); color: white; border: none; padding: 12px 24px; border-radius: 10px; cursor: pointer; font-weight: 600; font-size: 1rem; transition: all 0.3s ease; display: inline-flex; align-items: center; gap: 8px; box-shadow: 0 4px 15px rgba(255,153,51,0.3); }
.back-link:hover { transform: translateX(-5px); box-shadow: 0 6px 25px rgba(255,153,51,0.4); }
.back-link:active { transform: translateX(-3px); }
.btn-outline { border: 2px solid var(--blue); background: white; color: var(--blue); padding: 12px 22px; border-radius: 12px; cursor: pointer; font-weight: 700; display: inline-block; width: 100%; text-align: center; transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1); margin: 10px 0; box-shadow: 0 4px 15px rgba(0,0,128,0.12); letter-spacing: 0.5px; }
.btn-outline:hover { background: linear-gradient(135deg, var(--blue), #4b6cb7); color: white; transform: translateY(-4px) scale(1.02); box-shadow: 0 12px 30px rgba(0,0,128,0.3); border-color: #4b6cb7; }
.btn-outline:active { transform: translateY(-1px) scale(0.98); }
.view-user-btn { margin: 0 !important; padding: 4px 8px !important; font-size: 0.8rem !important; display: block !important; cursor: pointer; }
.view-user-btn:hover { background: var(--blue) !important; color: white !important; }
.btn-export { background: linear-gradient(135deg, #27ae60, #229954); color: white; border: none; padding: 10px 18px; border-radius: 8px; cursor: pointer; font-size: 0.9rem; transition: all 0.3s ease; margin: 8px; box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3); }
.btn-export:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(39, 174, 96, 0.4); }
.full { width: 100%; padding: 12px; margin: 10px 0; }
.btn-purple { background: linear-gradient(135deg, var(--purple), #5a4b9f); color: white; border: none; padding: 12px 24px; border-radius: 8px; cursor: pointer; flex: 1; transition: all 0.3s ease; margin: 6px; box-shadow: 0 4px 12px rgba(108, 92, 231, 0.3); }
.btn-purple:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(108, 92, 231, 0.4); }
.btn-danger { background: linear-gradient(135deg, #e74c3c, #c0392b); color: white; border: none; padding: 12px 24px; border-radius: 8px; cursor: pointer; flex: 1; transition: all 0.3s ease; margin: 6px; box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3); }
.btn-danger:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(231, 76, 60, 0.4); }
.modal-actions { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; }

/* SERVICES GRID */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 25px; }
.card { background: white; padding: 30px; border-radius: 15px; text-align: center; box-shadow: 0 8px 25px rgba(0,0,0,0.08); cursor: pointer; transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); position: relative; border: 2px solid transparent; animation: scaleIn 0.5s ease; }
.card:hover { transform: translateY(-8px) scale(1.02); border-color: var(--primary); box-shadow: 0 15px 40px rgba(0,0,0,0.15); }
.card i { font-size: 3rem; color: var(--blue); margin-bottom: 15px; transition: 0.3s; }
.card:hover i { transform: rotate(-10deg); color: var(--primary); }
.delete-svc { position: absolute; top: 10px; right: 10px; color: #e74c3c; cursor: pointer; background: rgba(231, 76, 60, 0.1); padding: 8px; border-radius: 50%; transition: all 0.3s; border: 2px solid #e74c3c; }
.delete-svc:hover { background: #e74c3c; color: white; transform: scale(1.1); }

/* SEARCH BAR STYLES */
.search-container { display: flex; justify-content: center; margin: 20px 0; }
.search-box { position: relative; width: 100%; max-width: 500px; }
.search-box i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: #999; pointer-events: none; }
.search-input { width: 100%; padding: 14px 16px 14px 45px; border: 2px solid #e0e0e0; border-radius: 25px; font-size: 0.95rem; transition: all 0.3s; font-family: 'Poppins', sans-serif; background: white; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.search-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 4px 16px rgba(255,153,51,0.2); }
.search-input::placeholder { color: #999; }

/* SUB-SERVICES LIST */
.subservices-list { display: flex; flex-direction: column; gap: 12px; }
.subservice-item { background: white; padding: 16px; border-radius: 10px; border-left: 4px solid var(--primary); cursor: pointer; transition: all 0.3s; box-shadow: 0 2px 8px rgba(0,0,0,0.05); display: flex; justify-content: space-between; align-items: center; }
.subservice-item:hover { transform: translateX(8px); box-shadow: 0 4px 16px rgba(255,153,51,0.2); }
.subservice-info { flex: 1; }
.subservice-name { font-weight: 600; color: var(--dark); margin-bottom: 4px; }
.subservice-service { font-size: 0.85rem; color: #888; }
.subservice-charge { background: linear-gradient(135deg, var(--primary), #ff7700); color: white; padding: 6px 12px; border-radius: 20px; font-weight: 600; font-size: 0.9rem; }

/* FORMS */
.simple-input { width: 100%; padding: 12px; margin: 10px 0; border: 2px solid #ddd; border-radius: 10px; background: #f9f9f9; transition: all 0.3s ease; font-size: 1rem; }
.simple-input:focus { border-color: var(--primary); background: white; box-shadow: 0 0 10px rgba(255, 153, 51, 0.2); outline: none; }
.floating-group { position: relative; margin: 24px 0; }
.floating-group p { margin: 0 0 10px 0; font-weight: 600; color: var(--blue); font-size: 0.95rem; letter-spacing: 0.3px; }
.floating-group input, .floating-group textarea, .floating-group select { width: 100%; padding: 14px 12px; border: 2px solid #e0e0e0; border-radius: 10px; outline: none; background: white; transition: all 0.3s ease; font-size: 1rem; font-family: 'Poppins', sans-serif; }
.floating-group input::placeholder { color: #ccc; }
.floating-group input:focus, .floating-group textarea:focus, .floating-group select:focus { border-color: var(--primary); background: white; box-shadow: 0 0 15px rgba(255, 153, 51, 0.15); }
.floating-group label { position: absolute; left: 12px; top: -10px; background: white; padding: 0 8px; color: var(--primary); transition: all 0.3s ease; pointer-events: none; font-weight: 600; font-size: 0.85rem; letter-spacing: 0.2px; }

/* TABLES */
.table-wrap { overflow-x: auto; background: white; border-radius: 15px; box-shadow: var(--shadow); animation: slideUp 0.5s ease; }
.styled-table { width: 100%; border-collapse: collapse; min-width: 600px; }
.styled-table th { background: linear-gradient(135deg, var(--blue), #4b6cb7); color: white; padding: 15px; text-align: left; font-weight: 600; }
.styled-table td { padding: 15px; border-bottom: 1px solid #eee; vertical-align: middle; transition: background 0.3s ease; }
.styled-table tr:hover { background: #f9f9f9; }
.styled-table img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.styled-table small { display: block; font-size: 0.85rem; margin-top: 3px; }
.admin-nav-tabs { display: flex; gap: 12px; margin: 20px 0; flex-wrap: wrap; }
.tab-btn { background: #e0e0e0; border: none; padding: 12px 24px; border-radius: 25px; cursor: pointer; color: #555; font-weight: 600; transition: all 0.3s ease; margin: 5px; }
.tab-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.tab-btn.active { background: linear-gradient(135deg, var(--blue), #4b6cb7); color: white; box-shadow: 0 6px 18px rgba(0,0,128,0.3); }
.badge { padding: 6px 12px; border-radius: 20px; font-size: 0.8rem; color: white; font-weight: 600; transition: all 0.3s ease; }
.badge-admin { background: linear-gradient(135deg, #e74c3c, #c0392b); } 
.badge-operator { background: linear-gradient(135deg, #3498db, #2980b9); } 
.badge-user { background: linear-gradient(135deg, #95a5a6, #7f8c8d); }
.badge-processing { background: linear-gradient(135deg, #ff9933, #ff7700); box-shadow: 0 4px 12px rgba(255, 153, 51, 0.3); }
.badge-clarification { background: linear-gradient(135deg, #3498db, #2980b9); box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3); }
.badge-completed { background: linear-gradient(135deg, #27ae60, #1e8449); box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3); }
.badge-rejected { background: linear-gradient(135deg, #e74c3c, #c0392b); box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3); }

/* AUTH BOX (Premium) */
.cool-auth-box { background: white; padding: 45px 40px; border-radius: 20px; width: 90%; max-width: 420px; position: relative; border-top: 5px solid var(--primary); box-shadow: 0 20px 60px rgba(0,0,0,0.2); animation: scaleIn 0.4s ease; }
.auth-header { text-align: center; margin-bottom: 35px; }
.auth-header h2 { font-size: 2rem; color: var(--blue); font-weight: 700; }
.auth-header p { color: #999; margin-top: 8px; }
.cool-input { position: relative; margin: 22px 0; border-bottom: 2px solid #eee; transition: all 0.3s ease; }
.cool-input:focus-within { border-bottom-color: var(--primary); }
.cool-input i { position: absolute; left: 10px; top: 12px; color: #999; transition: 0.3s; }
.cool-input:focus-within i { color: var(--primary); }
.cool-input input { width: 100%; padding: 12px 40px 12px 40px; border: none; outline: none; font-size: 1rem; background: transparent; }
.toggle-pass { left: auto !important; right: 10px; cursor: pointer; transition: 0.3s; }
.toggle-pass:hover { color: var(--primary); }
.btn-gradient { background: linear-gradient(135deg, var(--blue), #4b6cb7); color: white; border: none; padding: 13px; border-radius: 10px; font-weight: 700; cursor: pointer; width: 100%; margin: 15px 0; transition: all 0.3s ease; box-shadow: 0 6px 20px rgba(0,0,128,0.25); }
.btn-gradient:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,0,128,0.35); }
.auth-footer { 
  text-align: center; 
  margin-top: 25px; 
  padding: 20px 15px; 
  font-size: 0.95rem; 
  background: linear-gradient(135deg, rgba(255,153,51,0.08), rgba(0,0,128,0.05));
  border-radius: 12px;
  border: 1px solid rgba(255,153,51,0.2);
  transition: all 0.3s ease;
}

.auth-footer-text { 
  display: block; 
  color: #555; 
  font-weight: 500; 
  font-size: 0.9rem;
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}

.auth-toggle-link { 
  color: var(--primary); 
  font-weight: 700; 
  cursor: pointer; 
  transition: all 0.3s ease;
  font-size: 1rem;
  display: inline-block;
  padding: 8px 16px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255,153,51,0.15), rgba(255,153,51,0.05));
  border: 1.5px solid rgba(255,153,51,0.3);
}

.auth-toggle-link:hover { 
  color: #ff7700; 
  background: linear-gradient(135deg, rgba(255,153,51,0.25), rgba(255,153,51,0.12));
  border-color: rgba(255,153,51,0.6);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255,153,51,0.2);
}

.auth-footer:hover { transform: translateY(-1px); }

/* MODALS */
.modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); z-index: 2500; align-items: center; justify-content: center; backdrop-filter: blur(5px); animation: fadeIn 0.3s ease; }
.modal-overlay.active { display: flex; }
.modal-box { background: white; padding: 35px; border-radius: 20px; width: 90%; max-width: 500px; position: relative; max-height: 90vh; overflow-y: auto; animation: scaleIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); box-shadow: 0 25px 50px rgba(0,0,0,0.3); display: flex; flex-direction: column; }
.modal-box.large { max-width: 700px; }
.modal-box h3 { color: var(--blue); margin-bottom: 25px; font-size: 1.6rem; font-weight: 700; border-bottom: 3px solid var(--primary); padding-bottom: 12px; }
.modal-box h4 { color: var(--blue); margin: 20px 0 15px; font-size: 1.1rem; font-weight: 600; }
.modal-box p { margin: 10px 0; color: #333; font-size: 0.95rem; line-height: 1.6; }
.modal-box p b { color: var(--blue); font-weight: 700; }
.close-btn { position: fixed; right: 20px; top: 20px; font-size: 1.8rem; cursor: pointer; color: #999; transition: all 0.3s ease; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; z-index: 9999; }
.close-btn:hover { color: #e74c3c; transform: rotate(90deg) scale(1.2); }
.status-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0; }
.st-btn { padding: 12px; border: none; border-radius: 8px; color: white; cursor: pointer; font-weight: 600; transition: all 0.3s ease; box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.st-btn:hover { transform: translateY(-3px); box-shadow: 0 6px 18px rgba(0,0,0,0.25); }
.st-btn:active { transform: scale(0.98); }
.prog { background: linear-gradient(135deg, #ff9933, #ff7700); border: 2px solid #ff7700; } 
.info { background: linear-gradient(135deg, #3498db, #2980b9); border: 2px solid #2980b9; } 
.done { background: linear-gradient(135deg, #27ae60, #1e8449); border: 2px solid #1e8449; } 
.rej { background: linear-gradient(135deg, #e74c3c, #c0392b); border: 2px solid #c0392b; }

/* GATEWAY MODAL - Modern Style */
.modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); z-index: 3000; align-items: center; justify-content: center; backdrop-filter: blur(4px); animation: fadeIn 0.3s ease; }
.modal-content { background: white; border-radius: 16px; overflow: hidden; animation: scaleIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); box-shadow: 0 20px 60px rgba(0,0,0,0.3); max-height: 90vh; overflow-y: auto; }
.input-field { width: 100%; padding: 12px 16px; border: 2px solid #e0e0e0; border-radius: 8px; font-size: 0.95rem; transition: all 0.3s; font-family: 'Poppins', sans-serif; }
.input-field:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(255,153,51,0.1); }

/* NOTES STYLING */
.note-item { 
    padding: 16px; 
    margin: 12px 0; 
    border-left: 5px solid #999; 
    background: white; 
    border-radius: 10px; 
    transition: all 0.3s ease; 
    animation: slideUp 0.4s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.note-item:hover { 
    box-shadow: 0 6px 16px rgba(0,0,0,0.12); 
    transform: translateX(4px); 
}
.note-status { 
    display: inline-block; 
    padding: 7px 16px; 
    border-radius: 25px; 
    font-size: 0.75rem; 
    font-weight: 700; 
    color: white; 
    margin-bottom: 12px; 
    text-transform: uppercase; 
    letter-spacing: 0.7px; 
    animation: pulse 2s infinite; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.note-status.processing { background: linear-gradient(135deg, #ff9933, #ff7700); box-shadow: 0 4px 12px rgba(255, 153, 51, 0.4); }
.note-status.clarification { background: linear-gradient(135deg, #3498db, #2980b9); box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4); }
.note-status.completed { background: linear-gradient(135deg, #27ae60, #1e8449); box-shadow: 0 4px 12px rgba(39, 174, 96, 0.4); }
.note-status.rejected { background: linear-gradient(135deg, #e74c3c, #c0392b); box-shadow: 0 4px 12px rgba(231, 76, 60, 0.4); }
.note-time { font-size: 0.75rem; color: #999; display: block; margin-top: 10px; font-weight: 500; }
.note-author { font-weight: 700; color: #000080; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; font-size: 0.95rem; }
.note-text { color: #444; line-height: 1.7; margin: 10px 0; font-size: 0.95rem; }
.note-attachment { 
    margin-top: 12px; 
    padding: 10px 14px; 
    background: linear-gradient(135deg, rgba(255, 153, 51, 0.15), rgba(255, 153, 51, 0.05)); 
    border-radius: 8px; 
    border: 2px solid rgba(255, 153, 51, 0.4); 
    display: inline-block; 
    color: var(--primary); 
    cursor: pointer; 
    transition: all 0.3s ease; 
    font-weight: 600;
    text-decoration: none;
}
.note-attachment:hover { 
    background: linear-gradient(135deg, rgba(255, 153, 51, 0.25), rgba(255, 153, 51, 0.1)); 
    transform: translateY(-3px); 
    box-shadow: 0 4px 12px rgba(255, 153, 51, 0.3);
}

/* HERO & PROFILE */
.hero { display: flex; align-items: center; justify-content: space-between; background: white; padding: 50px 40px; border-radius: 20px; box-shadow: var(--shadow); margin-bottom: 30px; animation: slideUp 0.5s ease; }
.hero h1 { font-size: 3.2rem; line-height: 1.2; margin-bottom: 20px; color: var(--blue); font-weight: 800; }
.hero-img i { font-size: 8rem; color: rgba(0, 0, 128, 0.1); animation: float 3s ease-in-out infinite; }
.avatar-xl { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; border: 5px solid var(--primary); box-shadow: 0 8px 25px rgba(0,0,0,0.15); transition: all 0.3s ease; }
.avatar-xl:hover { transform: scale(1.1) rotate(5deg); }
.avatar-small { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.profile-avatar-box { position: relative; display: inline-block; margin-bottom: 25px; }
.edit-icon { position: absolute; bottom: 0; right: 0; background: linear-gradient(135deg, var(--blue), #4b6cb7); color: white; width: 35px; height: 35px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 4px 12px rgba(0,0,128,0.3); border: 3px solid white; }
.edit-icon:hover { transform: scale(1.15) rotate(10deg); }
.center-text { text-align: center; }
.small-box { max-width: 650px; margin: 0 auto; background: white; padding: 45px; border-radius: 20px; box-shadow: var(--shadow); animation: slideUp 0.5s ease; }
.admin-notice { background: linear-gradient(135deg, rgba(255,153,51,0.1), rgba(255,153,51,0.05)); border: 2px solid rgba(255, 153, 51, 0.3); padding: 15px; border-radius: 10px; margin: 15px 0; font-weight: 500; }
.section-title { color: var(--blue); font-size: 2rem; margin-bottom: 30px; font-weight: 700; text-align: center; }

/* FORM HEADING - SERVICE HEADERS */
#form-heading { 
  color: var(--blue); 
  font-size: 2.2rem; 
  font-weight: 800; 
  margin: 30px 0 35px 0; 
  text-align: center; 
  padding: 25px 20px; 
  background: linear-gradient(135deg, rgba(255,153,51,0.08), rgba(0,0,128,0.08)); 
  border-radius: 15px; 
  border-left: 5px solid var(--primary); 
  border-right: 5px solid rgba(255,153,51,0.3);
  box-shadow: 0 4px 15px rgba(0,0,128,0.08);
  letter-spacing: 0.5px;
  position: relative;
  animation: slideDown 0.5s ease;
}

#form-heading::before {
  content: '📋';
  display: inline-block;
  margin-right: 12px;
  font-size: 1.8rem;
  animation: float 2.5s ease-in-out infinite;
}

.container { max-width: 1200px; margin: 0 auto; }
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; }
.table-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }

/* FILE UPLOAD */
.file-upload-wrapper { border: 2px dashed var(--primary); border-radius: 10px; padding: 20px; text-align: center; cursor: pointer; transition: all 0.3s ease; background: rgba(255, 153, 51, 0.05); margin: 15px 0; }
.file-upload-wrapper:hover { background: rgba(255, 153, 51, 0.1); border-color: #ff7700; transform: scale(1.01); }
.file-upload-wrapper input { display: none; }
.file-list { margin: 12px 0; }
.file-item { background: #f9f9f9; padding: 10px 12px; border-radius: 6px; margin: 8px 0; display: flex; justify-content: space-between; align-items: center; border-left: 4px solid var(--primary); animation: slideUp 0.3s ease; }
.file-remove { color: #e74c3c; cursor: pointer; font-weight: 600; transition: 0.3s; }
.file-remove:hover { transform: scale(1.2); }

/* NOTE & STATUS UPDATE SECTION */
.add-note-wrapper { background: linear-gradient(135deg, rgba(255, 153, 51, 0.03) 0%, rgba(0, 0, 128, 0.02) 100%); border: 1px solid rgba(255, 153, 51, 0.15); border-radius: 12px; padding: 20px; margin: 15px 0; animation: slideDown 0.4s ease; }
.note-section-title { font-size: 14px; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 15px; display: flex; align-items: center; gap: 8px; }
.note-section-title::before { content: '✎'; font-size: 16px; }

.note-textarea { width: 100%; padding: 14px; border: 1px solid rgba(0, 0, 128, 0.15); border-radius: 8px; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; font-size: 14px; resize: vertical; min-height: 100px; margin-bottom: 12px; transition: all 0.3s ease; background: rgba(255, 255, 255, 0.8); }
.note-textarea:focus { outline: none; border-color: var(--primary); background: white; box-shadow: 0 0 0 3px rgba(255, 153, 51, 0.1); transform: translateY(-2px); }
.note-textarea::placeholder { color: rgba(0, 0, 128, 0.4); }

.status-update-section { background: linear-gradient(135deg, rgba(0, 0, 128, 0.05) 0%, rgba(255, 153, 51, 0.02) 100%); border: 1px solid rgba(0, 0, 128, 0.2); border-radius: 10px; padding: 15px; margin-bottom: 15px; animation: fadeIn 0.4s ease 0.1s backwards; }
.status-update-section label { display: block; font-size: 13px; font-weight: 700; color: var(--secondary); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 10px; }

#note-status-select { width: 100%; padding: 12px 14px; border: 2px solid rgba(0, 0, 128, 0.2); border-radius: 8px; background: white; color: var(--secondary); font-weight: 600; font-size: 14px; cursor: pointer; transition: all 0.3s ease; appearance: none; background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000080' stroke-width='2'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: right 12px center; background-size: 20px; padding-right: 40px; }
#note-status-select:hover { border-color: var(--primary); box-shadow: 0 2px 8px rgba(255, 153, 51, 0.15); }
#note-status-select:focus { outline: none; border-color: var(--primary); background-color: rgba(255, 153, 51, 0.02); box-shadow: 0 0 0 3px rgba(255, 153, 51, 0.1); }

#note-status-select option { padding: 10px; background: white; color: var(--secondary); font-weight: 600; }
#note-status-select option:checked { background: linear-gradient(var(--primary), var(--primary)); color: white; }

.note-actions { display: flex; gap: 10px; margin-top: 15px; }
.btn-add-note { flex: 1; padding: 12px 16px; background: linear-gradient(135deg, var(--primary) 0%, #ff7700 100%); color: white; border: none; border-radius: 8px; font-weight: 700; font-size: 14px; cursor: pointer; transition: all 0.3s ease; text-transform: uppercase; letter-spacing: 0.5px; box-shadow: 0 4px 12px rgba(255, 153, 51, 0.3); }
.btn-add-note:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(255, 153, 51, 0.4); }
.btn-add-note:active { transform: translateY(0); }

.btn-cancel-note { padding: 12px 16px; background: transparent; color: var(--secondary); border: 2px solid var(--secondary); border-radius: 8px; font-weight: 700; font-size: 14px; cursor: pointer; transition: all 0.3s ease; text-transform: uppercase; letter-spacing: 0.5px; }
.btn-cancel-note:hover { background: rgba(0, 0, 128, 0.05); border-color: var(--primary); color: var(--primary); }

@media (max-width: 768px) { 
  /* NAVBAR */
  .navbar { height: 60px; padding: 0 15px; }
  .logo { font-size: 1.2rem; }
  .logo-img { height: 50px; }
  .nav-right { gap: 10px; }
  
  /* HERO SECTION */
  .hero { flex-direction: column; text-align: center; padding: 25px 15px; margin-bottom: 20px; }
  .hero-img { display: none; }
  .hero h1 { font-size: 1.8rem; margin-bottom: 15px; }
  .hero-content p { font-size: 0.95rem; }
  .hero-actions { flex-direction: column; gap: 10px; }
  .btn-primary.big, .btn-outline.big { width: 100%; padding: 14px 20px; font-size: 0.95rem; }
  
  /* MODALS */
  .modal-box { width: 95%; padding: 20px; max-width: 95%; }
  .modal-box h3 { font-size: 1.3rem; }
  .modal-box h4 { font-size: 1rem; }
  
  /* AUTH FOOTER */
  .auth-footer { margin-top: 20px; padding: 15px 12px; }
  .auth-footer-text { font-size: 0.85rem; margin-bottom: 8px; }
  .auth-toggle-link { padding: 7px 14px; font-size: 0.95rem; }
  
  /* GRIDS */
  .grid { grid-template-columns: 1fr; gap: 15px; }
  .status-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; gap: 15px; }
  .features-grid { grid-template-columns: 1fr; gap: 20px; }
  .testimonials-grid { grid-template-columns: 1fr; gap: 20px; }
  
  /* MODAL ACTIONS */
  .modal-actions { flex-direction: column; }
  .btn-purple, .btn-danger { flex: unset; width: 100%; }
  
  /* STEPS */
  .steps-container { flex-direction: column; gap: 15px; }
  .step-line { display: none; }
  .step-card { min-width: unset; }
  
  /* SECTIONS PADDING */
  .stats-section { padding: 40px 15px; margin: 30px 0; }
  .features-section { padding: 40px 15px; }
  .how-it-works-section { padding: 40px 15px; }
  .testimonials-section { padding: 40px 15px; }
  .cta-section { padding: 40px 15px; }
  .services-preview-section { padding: 40px 15px; }
  
  /* STATISTICS CARDS */
  .stat-card { padding: 25px 15px; }
  .stat-card h3 { font-size: 1.8rem; }
  .stat-card i { font-size: 2rem; }
  
  /* FEATURE CARDS */
  .feature-card { padding: 25px 15px; }
  .feature-card h3 { font-size: 1.1rem; }
  .feature-icon { width: 60px; height: 60px; font-size: 1.8rem; }
  
  /* STEP CARDS */
  .step-card { padding: 25px 15px; }
  .step-number { width: 40px; height: 40px; font-size: 1rem; }
  .step-icon { font-size: 2rem; }
  .step-card h3 { font-size: 1rem; }
  
  /* CTA CARD */
  .cta-card { padding: 40px 20px; }
  .cta-card h2 { font-size: 1.5rem; }
  .cta-card p { font-size: 0.95rem; }
  
  /* FORM HEADING */
  #form-heading { font-size: 1.8rem; margin: 20px 0 25px 0; padding: 20px 15px; border-left: 4px solid var(--primary); }
  #form-heading::before { font-size: 1.6rem; margin-right: 10px; }
  
  /* TABLES */
  .table-wrap { overflow-x: auto; }
  .styled-table { min-width: 500px; font-size: 0.85rem; }
  .styled-table th, .styled-table td { padding: 10px; }
  .styled-table img { width: 35px; height: 35px; }
  
  /* BUTTONS */
  .btn-primary, .btn-outline, .btn-login, .btn-export { padding: 10px 16px; font-size: 0.9rem; }
  .btn-primary.big { padding: 14px 20px; font-size: 0.95rem; }
  .btn-outline.big { padding: 14px 20px; font-size: 0.95rem; }
  
  /* FORMS */
  .floating-group { margin: 18px 0; }
  .floating-group input, .floating-group textarea, .floating-group select { padding: 12px 10px; font-size: 16px; }
  .floating-group label { font-size: 0.75rem; }
  .simple-input { padding: 10px; font-size: 16px; }
  
  /* OFF-CANVAS MENU */
  .off-canvas { width: 250px; right: -250px; }
  .oc-links a { padding: 10px 12px; font-size: 0.9rem; }
  .avatar-medium { width: 45px; height: 45px; }
  
  /* ADMIN TABS */
  .admin-nav-tabs { gap: 8px; margin: 15px 0; }
  .tab-btn { padding: 10px 18px; font-size: 0.85rem; }
  
  /* CARDS */
  .card { padding: 20px; margin: 10px; }
  .card i { font-size: 2.5rem; }
  
  /* SERVICE ADMIN CARDS */
  .service-admin-card { margin: 10px 5px; }
  .service-card-content { padding: 15px; }
  .service-card-content i { font-size: 2rem; }
  .service-card-content h3 { font-size: 1rem; }
  
  /* ICON ITEMS */
  .icon-item { width: 60px; height: 60px; font-size: 1.8rem; }
  .icon-item-inline { width: 55px; height: 65px; }
  .icon-item-inline i { font-size: 1.6rem; }
  .icon-label { font-size: 0.6rem; }
  
  /* TESTIMONIAL */
  .testimonial-avatar { width: 45px; height: 45px; }
  .testimonial-header h4 { font-size: 0.95rem; }
  .testimonial-card { padding: 20px; }
  
  /* PROFILE SECTIONS */
  .profile-section { padding: 20px 15px; }
}

/* EXTRA SMALL DEVICES (Below 480px) */
@media (max-width: 480px) {
  /* NAVBAR */
  .navbar { height: 55px; padding: 0 10px; }
  .logo { font-size: 1rem; }
  .logo-img { height: 45px; }
  .logo i { margin-right: 5px; }
  
  /* HERO */
  .hero { padding: 15px 10px; margin-bottom: 15px; }
  .hero h1 { font-size: 1.5rem; }
  .hero-content p { font-size: 0.9rem; margin-bottom: 15px; }
  .hero-actions { gap: 8px; }
  
  /* ALL GRIDS TO SINGLE COLUMN */
  .grid, .status-grid, .stats-grid, .features-grid, .testimonials-grid { grid-template-columns: 1fr; }
  
  /* SECTION PADDING */
  .stats-section, .features-section, .how-it-works-section, .testimonials-section, .cta-section, .services-preview-section { 
    padding: 25px 10px; margin: 20px 0; 
  }
  
  /* HEADINGS */
  h1, h2 { font-size: 1.5rem; }
  h3 { font-size: 1rem; }
  h4 { font-size: 0.95rem; }
  
  /* STAT CARDS */
  .stat-card { padding: 20px 10px; }
  .stat-card h3 { font-size: 1.5rem; }
  .stat-card i { font-size: 1.8rem; }
  .stat-card p { font-size: 0.85rem; }
  
  /* FEATURE CARDS */
  .feature-card { padding: 20px 10px; }
  .feature-icon { width: 50px; height: 50px; font-size: 1.5rem; }
  .feature-card h3 { font-size: 1rem; }
  .feature-card p { font-size: 0.85rem; }
  
  /* STEP CARDS */
  .step-card { padding: 20px 10px; }
  .step-number { width: 35px; height: 35px; font-size: 0.9rem; }
  .step-icon { font-size: 1.8rem; }
  .step-card h3 { font-size: 0.95rem; }
  .step-card p { font-size: 0.8rem; }
  
  /* CTA CARD */
  .cta-card { padding: 30px 15px; }
  .cta-card h2 { font-size: 1.3rem; }
  .cta-card p { font-size: 0.9rem; margin-bottom: 15px; }
  
  /* FORM HEADING */
  #form-heading { font-size: 1.5rem; margin: 15px 0 20px 0; padding: 15px 12px; border-left: 3px solid var(--primary); }
  #form-heading::before { font-size: 1.4rem; margin-right: 8px; }
  
  /* BUTTONS */
  .btn-primary, .btn-outline, .btn-login, .btn-export, .btn-purple, .btn-danger { 
    padding: 10px 14px; font-size: 0.85rem; width: 100%; 
  }
  .btn-primary:hover, .btn-outline:hover { transform: translateY(-2px); }
  
  /* FORMS */
  .floating-group { margin: 15px 0; }
  .floating-group p { font-size: 0.9rem; margin-bottom: 8px; }
  .floating-group input, .floating-group textarea, .floating-group select { 
    padding: 10px 8px; font-size: 16px; border-radius: 8px; 
  }
  .floating-group label { font-size: 0.7rem; left: 10px; }
  .simple-input { padding: 10px; font-size: 16px; }
  
  /* MODAL */
  .modal-overlay { padding: 10px; }
  .modal-box { width: 98%; padding: 15px; border-radius: 12px; }
  .modal-box h3 { font-size: 1.2rem; margin-bottom: 15px; }
  
  /* AUTH FOOTER */
  .auth-footer { margin-top: 15px; padding: 12px 10px; }
  .auth-footer-text { font-size: 0.8rem; margin-bottom: 6px; }
  .auth-toggle-link { display: block; padding: 10px 12px; font-size: 0.9rem; margin-top: 6px; }
  .modal-actions { gap: 8px; }
  .status-grid { gap: 10px; }
  .st-btn { padding: 10px 12px; font-size: 0.85rem; }
  
  /* TABLES */
  .styled-table { font-size: 0.75rem; min-width: 400px; }
  .styled-table th, .styled-table td { padding: 8px 6px; }
  .styled-table img { width: 30px; height: 30px; }
  
  /* OFF-CANVAS */
  .off-canvas { width: 100%; right: -100%; padding: 0; }
  .off-canvas-header { padding: 15px; }
  .oc-user-info h4 { font-size: 1rem; }
  .avatar-medium { width: 40px; height: 40px; }
  .oc-links a { padding: 12px 15px; font-size: 0.9rem; }
  .logout-li { margin-top: auto; }
  
  /* CARDS */
  .card { padding: 15px; margin: 8px; border-radius: 12px; }
  .card i { font-size: 2.2rem; }
  .card h2 { font-size: 1.1rem; }
  
  /* SERVICE CARDS */
  .service-admin-card { margin: 8px 3px; }
  .service-card-content { padding: 12px; }
  .service-card-content i { font-size: 1.8rem; }
  .service-card-content h3 { font-size: 0.95rem; }
  
  /* ICON ITEMS */
  .icon-item { width: 55px; height: 55px; font-size: 1.6rem; }
  .icon-item-inline { width: 50px; height: 60px; }
  .icon-item-inline i { font-size: 1.5rem; }
  .icon-label { font-size: 0.55rem; }
  
  /* BADGES & PILLS */
  .badge { padding: 4px 10px; font-size: 0.6rem; }
  
  /* TESTIMONIALS */
  .testimonial-card { padding: 15px; }
  .testimonial-avatar { width: 40px; height: 40px; }
  .testimonial-header { gap: 10px; }
  .testimonial-header h4 { font-size: 0.9rem; }
  .testimonial-card p { font-size: 0.85rem; }
  
  /* ADMIN TABS */
  .admin-nav-tabs { gap: 5px; }
  .tab-btn { padding: 8px 12px; font-size: 0.75rem; }
  
  /* COOL AUTH BOX */
  .cool-auth-box { width: 95%; max-width: 95%; padding: 30px 20px; }
  .auth-header h2 { font-size: 1.5rem; }
  .auth-header p { font-size: 0.85rem; }
  .cool-input { margin: 15px 0; }
  .btn-gradient { padding: 12px; font-size: 0.95rem; }
  
  /* PROFILE FORM */
  .profile-section { padding: 15px 10px; }
  .profile-pic { width: 80px; height: 80px; }
}

/* LANDSCAPE TABLETS */
@media (max-width: 900px) and (orientation: landscape) {
  .hero { padding: 20px 30px; }
  .hero h1 { font-size: 2rem; }
  .stats-section, .features-section, .how-it-works-section, .testimonials-section, .cta-section { padding: 30px 20px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .step-card { padding: 20px; }
}

/* STATISTICS SECTION */
.stats-section { background: linear-gradient(135deg, rgba(0,0,128,0.05) 0%, rgba(255,153,51,0.05) 100%); padding: 60px 5%; margin: 50px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; }
.stat-card { background: white; padding: 35px 25px; border-radius: 15px; text-align: center; box-shadow: 0 8px 25px rgba(0,0,0,0.08); transition: all 0.3s ease; border-top: 4px solid var(--primary); animation: slideUp 0.5s ease; }
.stat-card:hover { transform: translateY(-8px); box-shadow: 0 15px 40px rgba(0,0,0,0.15); }
.stat-card i { font-size: 2.5rem; color: var(--primary); margin-bottom: 15px; }
.stat-card h3 { font-size: 2.2rem; color: var(--blue); margin: 10px 0; font-weight: 700; }
.stat-card p { color: #666; font-size: 0.95rem; }

/* SERVICES PREVIEW SECTION */
.services-preview-section { padding: 60px 5%; background: white; }

/* FEATURES SECTION */
.features-section { background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%); padding: 80px 5%; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 35px; }
.feature-card { background: white; padding: 40px 30px; border-radius: 15px; text-align: center; box-shadow: 0 8px 25px rgba(0,0,0,0.08); transition: all 0.4s ease; border-bottom: 5px solid transparent; }
.feature-card:hover { border-bottom-color: var(--primary); transform: translateY(-10px); box-shadow: 0 15px 40px rgba(0,0,0,0.15); }
.feature-icon { width: 80px; height: 80px; background: linear-gradient(135deg, rgba(255,153,51,0.1), rgba(0,0,128,0.1)); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 2rem; color: var(--primary); }
.feature-card h3 { color: var(--blue); font-size: 1.3rem; margin-bottom: 12px; font-weight: 700; }
.feature-card p { color: #666; line-height: 1.6; font-size: 0.95rem; }

/* HOW IT WORKS SECTION */
.how-it-works-section { background: linear-gradient(135deg, rgba(0,0,128,0.02) 0%, rgba(255,153,51,0.02) 100%); padding: 80px 5%; }
.steps-container { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 50px; }
.step-card { background: white; padding: 35px 25px; border-radius: 15px; text-align: center; flex: 1; min-width: 150px; box-shadow: 0 8px 25px rgba(0,0,0,0.08); position: relative; transition: all 0.3s ease; animation: scaleIn 0.5s ease; }
.step-card:hover { transform: translateY(-8px); box-shadow: 0 15px 40px rgba(0,0,0,0.15); }
.step-number { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); width: 45px; height: 45px; background: linear-gradient(135deg, var(--primary), #ff7700); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.2rem; box-shadow: 0 4px 12px rgba(255,153,51,0.3); }
.step-icon { font-size: 2.5rem; color: var(--primary); margin: 15px 0; }
.step-card h3 { color: var(--blue); font-size: 1.1rem; margin: 10px 0; font-weight: 700; }
.step-card p { color: #666; font-size: 0.9rem; }
.step-line { height: 4px; background: linear-gradient(90deg, var(--primary), transparent); flex: 1; min-width: 20px; }

/* TESTIMONIALS SECTION */
.testimonials-section { background: white; padding: 80px 5%; }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 35px; margin-top: 50px; }
.testimonial-card { background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%); padding: 30px; border-radius: 15px; box-shadow: 0 8px 25px rgba(0,0,0,0.08); transition: all 0.3s ease; border-left: 5px solid var(--primary); }
.testimonial-card:hover { transform: translateY(-8px); box-shadow: 0 15px 40px rgba(0,0,0,0.15); }
.testimonial-header { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; }
.testimonial-avatar { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; border: 3px solid var(--primary); }
.testimonial-header h4 { color: var(--blue); font-weight: 700; margin-bottom: 5px; }
.testimonial-rating { color: #ffc107; font-size: 0.9rem; }
.testimonial-card p { color: #555; line-height: 1.7; font-size: 0.95rem; font-style: italic; }

/* CTA SECTION */
.cta-section { background: linear-gradient(135deg, var(--primary) 0%, #ff7700 100%); padding: 80px 5%; text-align: center; }
.cta-card { background: rgba(255,255,255,0.95); padding: 60px 40px; border-radius: 20px; max-width: 600px; margin: 0 auto; box-shadow: 0 20px 60px rgba(0,0,0,0.3); animation: scaleIn 0.5s ease; }
.cta-card h2 { color: var(--blue); font-size: 2rem; margin-bottom: 15px; font-weight: 700; }
.cta-card p { color: #666; font-size: 1.1rem; margin-bottom: 25px; }

/* HERO SECTION ENHANCED */
.hero { display: flex; align-items: center; justify-content: space-between; background: white; padding: 50px 40px; border-radius: 20px; box-shadow: 0 8px 32px rgba(0,0,0,0.1); margin-bottom: 30px; animation: slideUp 0.5s ease; }
.hero-content h1 { font-size: 3.2rem; line-height: 1.2; margin-bottom: 20px; color: var(--blue); font-weight: 800; }
.hero-content p { font-size: 1.1rem; color: #666; margin-bottom: 25px; }
.hero-actions { display: flex; gap: 15px; flex-wrap: wrap; }
.btn-primary.big { padding: 16px 45px; font-size: 1.05rem; border-radius: 14px; }
.btn-outline.big { padding: 16px 45px; font-size: 1.05rem; border-radius: 14px; }

/* SERVICE BUILDER FORM ENHANCEMENTS */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-weight: 600; color: var(--blue); margin-bottom: 8px; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.5px; }
.simple-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(255, 153, 51, 0.1); outline: none; }
small i { margin-right: 5px; }

/* ICON SELECTOR STYLES */
.icon-item { width: 70px; height: 70px; display: flex; align-items: center; justify-content: center; border: 2px solid #e0e0e0; border-radius: 10px; cursor: pointer; transition: all 0.3s ease; font-size: 2rem; color: #555; position: relative; overflow: hidden; background: white; }
.icon-item:hover { border-color: var(--primary); background: linear-gradient(135deg, rgba(255,153,51,0.1), rgba(255,153,51,0.05)); color: var(--primary); box-shadow: 0 10px 25px rgba(255,153,51,0.25); }
.icon-item::before { content: ''; position: absolute; top: 50%; left: 50%; width: 0; height: 0; background: rgba(255,153,51,0.2); border-radius: 50%; transform: translate(-50%, -50%); transition: width 0.5s, height 0.5s; }
.icon-item:hover::before { width: 100%; height: 100%; }
#icon-search { margin-bottom: 20px; padding: 14px 16px; border: 2px solid #e0e0e0; border-radius: 12px; font-size: 1rem; transition: all 0.3s; width: 100%; box-sizing: border-box; }
#icon-search:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(255,153,51,0.1); outline: none; }

/* INLINE ICON SELECTOR */
.icon-item-inline { width: 65px; height: 75px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 2px solid #e8e8e8; border-radius: 8px; cursor: pointer; transition: all 0.25s ease; background: white; position: relative; overflow: hidden; }
.icon-item-inline:hover { border-color: var(--primary); background: linear-gradient(135deg, rgba(255,153,51,0.12), rgba(255,153,51,0.06)); transform: translateY(-2px); box-shadow: 0 6px 18px rgba(255,153,51,0.2); }
.icon-item-inline i { font-size: 1.8rem; color: #555; transition: all 0.25s; margin-bottom: 4px; }
.icon-item-inline:hover i { color: var(--primary); font-size: 1.8rem; }
.icon-label { font-size: 0.65rem; color: #999; text-align: center; word-break: break-word; line-height: 1.2; padding: 0 3px; max-height: 20px; overflow: hidden; text-overflow: ellipsis; }
.icon-item-inline:hover .icon-label { color: var(--primary); font-weight: 600; }
#icon-search-input { padding: 12px 14px; border: 2px solid #e0e0e0; border-radius: 8px; font-size: 0.95rem; width: 100%; box-sizing: border-box; }
#icon-search-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(255,153,51,0.08); outline: none; }
#icons-grid-inline { scrollbar-width: thin; scrollbar-color: var(--primary) #f0f0f0; }
#icons-grid-inline::-webkit-scrollbar { width: 8px; }
#icons-grid-inline::-webkit-scrollbar-track { background: #f0f0f0; border-radius: 10px; }
#icons-grid-inline::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 10px; }
#icons-grid-inline::-webkit-scrollbar-thumb:hover { background: #ff7700; }
#icon-toggle-arrow { transition: transform 0.3s ease; }

/* SERVICE ADMIN CARD STYLING */
.service-admin-card { position: relative; background: white; border-radius: 15px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.08); transition: all 0.3s ease; border: 2px solid transparent; }
.service-admin-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.12); border-color: var(--primary); transform: translateY(-5px); }
.service-card-content { padding: 20px; cursor: pointer; transition: all 0.3s; }
.service-card-content i { font-size: 2.5rem; color: var(--primary); margin-bottom: 12px; display: block; transition: all 0.3s; }
.service-admin-card:hover .service-card-content i { color: #ff7700; }
.service-card-content h3 { margin: 12px 0 8px; color: var(--blue); font-weight: 700; }
.service-card-content p { margin: 0; color: #666; font-size: 0.85rem; line-height: 1.4; }
.service-card-actions { position: absolute; top: 10px; right: 10px; display: flex; gap: 6px; opacity: 0; transition: all 0.3s; }
.service-admin-card:hover .service-card-actions { opacity: 1; }
.btn-icon-edit, .btn-icon-delete { width: 36px; height: 36px; border: none; border-radius: 8px; cursor: pointer; transition: all 0.3s; font-size: 0.9rem; display: flex; align-items: center; justify-content: center; }
.btn-icon-edit { background: linear-gradient(135deg, var(--primary), #ff7700); color: white; box-shadow: 0 4px 12px rgba(255,153,51,0.3); }
.btn-icon-edit:hover { transform: scale(1.15); box-shadow: 0 6px 20px rgba(255,153,51,0.4); }
.btn-icon-delete { background: linear-gradient(135deg, #e74c3c, #c0392b); color: white; box-shadow: 0 4px 12px rgba(231,76,60,0.3); }
.btn-icon-delete:hover { transform: scale(1.15); box-shadow: 0 6px 20px rgba(231,76,60,0.4); }
.hero-img { display: flex; align-items: center; justify-content: center; }
.hero-img i { font-size: 8rem; color: rgba(0, 0, 128, 0.1); animation: float 3s ease-in-out infinite; }

/* HIGHLIGHT */
.highlight { background: linear-gradient(135deg, var(--primary), #ff7700); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; font-weight: 800; }

/* PAYMENT SETTINGS */
.payment-settings-container { max-width: 1000px; margin: 0 auto; }
.settings-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; flex-wrap: wrap; gap: 15px; }
.settings-header h3 { font-size: 1.4rem; color: var(--dark); margin: 0; }
.gateways-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.gateway-card { background: white; border: 2px solid #e0e0e0; border-radius: 12px; padding: 20px; transition: all 0.3s; cursor: pointer; position: relative; overflow: hidden; }
.gateway-card:hover { border-color: var(--primary); box-shadow: 0 8px 24px rgba(255,153,51,0.2); transform: translateY(-4px); }
.gateway-card.disabled { opacity: 0.6; background: #f9f9f9; }
.gateway-badge { position: absolute; top: 10px; right: 10px; padding: 4px 12px; border-radius: 20px; font-size: 0.7rem; font-weight: 600; text-transform: uppercase; }
.gateway-badge.active { background: #2ecc71; color: white; }
.gateway-badge.inactive { background: #e0e0e0; color: #999; }
.gateway-type { font-size: 0.85rem; color: #888; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; margin-bottom: 10px; }
.gateway-name { font-size: 1.2rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.gateway-description { font-size: 0.9rem; color: #666; margin-bottom: 15px; line-height: 1.4; }
.gateway-actions { display: flex; gap: 8px; }
.btn-gateway { flex: 1; padding: 8px 12px; border: none; border-radius: 8px; cursor: pointer; font-size: 0.85rem; font-weight: 600; transition: all 0.3s; display: flex; align-items: center; justify-content: center; gap: 6px; }
.btn-gateway-edit { background: linear-gradient(135deg, var(--primary), #ff7700); color: white; }
.btn-gateway-edit:hover { box-shadow: 0 4px 12px rgba(255,153,51,0.3); }
.btn-gateway-delete { background: #fee; color: #c0392b; border: 1px solid #fcc; }
.btn-gateway-delete:hover { background: #fdd; border-color: #c0392b; }

/* GATEWAY MODAL */
.gateway-modal { max-width: 600px; }
.modal-header { background: linear-gradient(135deg, var(--primary), #ff7700); color: white; padding: 20px; border-radius: 12px 12px 0 0; display: flex; justify-content: space-between; align-items: center; }
.modal-header h3 { color: white; margin: 0; font-size: 1.1rem; }
.modal-close { background: rgba(255,255,255,0.2); border: none; color: white; width: 35px; height: 35px; border-radius: 50%; cursor: pointer; font-size: 1.5rem; transition: all 0.3s; }
.modal-close:hover { background: rgba(255,255,255,0.4); }
.modal-body { padding: 25px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; color: var(--dark); margin-bottom: 8px; font-size: 0.95rem; }
.form-group select, .form-group textarea { width: 100%; padding: 12px; border: 2px solid #e0e0e0; border-radius: 8px; font-size: 0.95rem; font-family: 'Poppins', sans-serif; transition: all 0.3s; }
.form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(255,153,51,0.1); }
.form-group small { display: block; color: #888; font-size: 0.8rem; margin-top: 5px; }
.dynamic-fields { display: flex; flex-direction: column; gap: 15px; margin: 20px 0; padding: 15px; background: #f9f9f9; border-radius: 8px; border: 1px dashed #ddd; }
.dynamic-field { display: flex; flex-direction: column; }
.dynamic-field label { font-weight: 600; color: var(--dark); margin-bottom: 6px; font-size: 0.9rem; }
.dynamic-field input { padding: 10px; border: 2px solid #e0e0e0; border-radius: 8px; font-size: 0.9rem; font-family: 'Poppins', sans-serif; }
.dynamic-field input:focus { outline: none; border-color: var(--primary); }
.toggle-group { display: flex; align-items: center; gap: 12px; }
.toggle-group input[type="checkbox"] { width: 18px; height: 18px; cursor: pointer; accent-color: var(--primary); }
.toggle-label { display: flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 600; color: #666; }
.toggle-text { font-size: 0.95rem; }
.modal-footer { display: flex; gap: 12px; padding: 20px; background: #f9f9f9; border-top: 1px solid #e0e0e0; border-radius: 0 0 12px 12px; justify-content: flex-end; }
.btn-secondary { padding: 12px 24px; background: #e0e0e0; color: #666; border: none; border-radius: 8px; cursor: pointer; font-weight: 600; transition: all 0.3s; }
.btn-secondary:hover { background: #d0d0d0; }

/* RESPONSIVE - PAYMENT GATEWAY */
@media (max-width: 768px) {
    .settings-header { flex-direction: column; align-items: flex-start; }
    .gateways-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 15px; }
    .gateway-card { padding: 15px; }
    .modal-body { padding: 15px; }
    .modal-footer { flex-direction: column-reverse; }
    .btn-secondary, .btn-primary { width: 100%; }
}

@media (max-width: 768px) {
    .search-box { max-width: 100%; }
    .search-input { padding: 12px 14px 12px 40px; font-size: 0.9rem; }
    .subservice-item { flex-direction: column; align-items: flex-start; }
    .subservice-charge { margin-top: 8px; align-self: flex-start; }
}

@media (max-width: 480px) {
    .settings-header h3 { font-size: 1.1rem; }
    .gateways-grid { grid-template-columns: 1fr; }
    .gateway-card { padding: 12px; }
    .gateway-name { font-size: 1rem; }
    .gateway-actions { gap: 6px; }
    .btn-gateway { padding: 6px 10px; font-size: 0.8rem; }
    .search-input { padding: 12px 14px 12px 40px; font-size: 0.85rem; }
    .subservice-name { font-size: 0.9rem; }
    .subservice-charge { padding: 5px 10px; font-size: 0.8rem; }
}

/* Send Mail Modal Styles */
#send-mail {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 3000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

#send-mail.active {
    display: flex;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
    animation: scaleIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 15px;
}

.modal-header h3 {
    margin: 0;
    color: var(--blue);
    font-size: 1.4rem;
    font-weight: 700;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #f0f0f0;
    color: #333;
}

#send-mail-form .form-group {
    margin-bottom: 18px;
}

#send-mail-form .form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

#send-mail-form .simple-input {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-family: Arial, sans-serif;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
}

#send-mail-form .simple-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.1);
}

#send-mail-form textarea {
    resize: vertical;
    min-height: 120px;
}

#send-mail-form > div:last-child {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 25px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}


