/*!***********************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[7].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[7].use[3]!./src/components/FeedbackModal.module.css ***!
  \***********************************************************************************************************************************************************************************************************************************************************************************/
.FeedbackModal_overlay__MRkij {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.FeedbackModal_modal__C4uZS {
  background-color: var(--surface);
  border-radius: 12px;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.FeedbackModal_header__ezXCo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

.FeedbackModal_title__WkxiG {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.FeedbackModal_closeBtn__lZsxK {
  background: none;
  border: none;
  font-size: 28px;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0;
  line-height: 1;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: background-color 0.2s;
}

.FeedbackModal_closeBtn__lZsxK:hover {
  background-color: var(--background);
  color: var(--text-primary);
}

.FeedbackModal_form__kVv6D {
  padding: 24px;
  overflow-y: auto;
}

.FeedbackModal_row__hMi7h {
  display: flex;
  gap: 16px;
}

.FeedbackModal_row__hMi7h .FeedbackModal_field__SdWtM {
  flex: 1 1;
}

.FeedbackModal_field__SdWtM {
  margin-bottom: 20px;
  position: relative;
}

.FeedbackModal_field__SdWtM label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.FeedbackModal_field__SdWtM input,
.FeedbackModal_field__SdWtM select,
.FeedbackModal_field__SdWtM textarea {
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background-color: var(--background);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.FeedbackModal_field__SdWtM input:focus,
.FeedbackModal_field__SdWtM select:focus,
.FeedbackModal_field__SdWtM textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.FeedbackModal_field__SdWtM textarea {
  resize: vertical;
  min-height: 100px;
}

.FeedbackModal_charCount___1g51 {
  position: absolute;
  right: 8px;
  bottom: -18px;
  font-size: 11px;
  color: var(--text-secondary);
}

.FeedbackModal_error__8uBAE {
  padding: 12px;
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 6px;
  color: #dc2626;
  font-size: 14px;
  margin-bottom: 20px;
}

.FeedbackModal_actions__LmdCg {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  padding-top: 8px;
}

.FeedbackModal_cancelBtn__896Fm {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  background-color: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.FeedbackModal_cancelBtn__896Fm:hover:not(:disabled) {
  background-color: var(--background);
}

.FeedbackModal_submitBtn__XFdrc {
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 500;
  background-color: var(--primary);
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.FeedbackModal_submitBtn__XFdrc:hover:not(:disabled) {
  background-color: var(--primary-hover);
}

.FeedbackModal_submitBtn__XFdrc:disabled,
.FeedbackModal_cancelBtn__896Fm:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Success Message */
.FeedbackModal_successMessage__2b4OC {
  padding: 48px 24px;
  text-align: center;
}

.FeedbackModal_successIcon__Sdn2O {
  color: #16a34a;
  margin-bottom: 16px;
}

.FeedbackModal_successMessage__2b4OC h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 8px 0;
}

.FeedbackModal_successMessage__2b4OC p {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
}

/* Mobile Responsive */
@media (max-width: 520px) {
  .FeedbackModal_modal__C4uZS {
    max-height: 95vh;
    margin: 10px;
  }

  .FeedbackModal_header__ezXCo {
    padding: 16px 20px;
  }

  .FeedbackModal_form__kVv6D {
    padding: 20px;
  }

  .FeedbackModal_row__hMi7h {
    flex-direction: column;
    gap: 0;
  }

  .FeedbackModal_actions__LmdCg {
    flex-direction: column;
  }

  .FeedbackModal_cancelBtn__896Fm,
  .FeedbackModal_submitBtn__XFdrc {
    width: 100%;
  }
}

/*!************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[7].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[7].use[3]!./src/components/FeedbackButton.module.css ***!
  \************************************************************************************************************************************************************************************************************************************************************************************/
.FeedbackButton_feedbackBtn__t_LK9 {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 6px;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s;
}

.FeedbackButton_feedbackBtn__t_LK9:hover {
  background-color: var(--background);
  color: var(--primary);
}

.FeedbackButton_icon__6tmHg {
  flex-shrink: 0;
}

/*!*****************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[7].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[7].use[3]!./src/components/Sidebar.module.css ***!
  \*****************************************************************************************************************************************************************************************************************************************************************************/
.Sidebar_sidebar__v6daX {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--sidebar-width);
  background-color: var(--surface);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  z-index: 100;
}

.Sidebar_logo__SsBgv {
  padding: 20px;
  border-bottom: 1px solid var(--border);
}

.Sidebar_logoLink___3v5a {
  display: flex;
  align-items: center;
  gap: 10px;
}

.Sidebar_logoImage__xf2tq {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.Sidebar_logoText__YoH1_ {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
}

.Sidebar_nav__KAd3g {
  flex: 1 1;
  padding: 16px 12px;
  overflow-y: auto;
}

.Sidebar_navItem__5OSJs {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  margin-bottom: 4px;
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
}

.Sidebar_navItem__5OSJs:hover {
  background-color: var(--background);
  color: var(--text-primary);
}

.Sidebar_navItem__5OSJs.Sidebar_active__jjcnH {
  background-color: #eff6ff;
  color: var(--primary);
}

.Sidebar_navItem__5OSJs.Sidebar_disabled___YUI1 {
  opacity: 0.5;
  cursor: not-allowed;
}

.Sidebar_navItem__5OSJs.Sidebar_disabled___YUI1:hover {
  background-color: transparent;
  color: var(--text-secondary);
}

.Sidebar_comingSoon__oK33m {
  margin-left: auto;
  font-size: 10px;
  padding: 2px 6px;
  background-color: var(--background);
  border-radius: 4px;
  color: var(--text-secondary);
}

.Sidebar_footer__hB5Gl {
  padding: 12px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.Sidebar_footerLink__phFmn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
}

.Sidebar_footerLink__phFmn:hover {
  background-color: var(--background);
  color: var(--primary);
}

.Sidebar_footerLink__phFmn.Sidebar_active__jjcnH {
  background-color: #eff6ff;
  color: var(--primary);
}

.Sidebar_version__r5wXx {
  font-size: 11px;
  color: var(--text-secondary);
  text-align: center;
  padding: 4px 0;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .Sidebar_sidebar__v6daX {
    transform: translateX(-100%);
    transition: transform 0.3s;
  }

  .Sidebar_sidebar__v6daX.Sidebar_open__4MVVs {
    transform: translateX(0);
  }
}

/*!****************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[7].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[7].use[3]!./src/components/Header.module.css ***!
  \****************************************************************************************************************************************************************************************************************************************************************************/
.Header_header__MvnS2 {
  position: fixed;
  top: 0;
  left: var(--sidebar-width);
  right: 0;
  height: var(--header-height);
  background-color: var(--surface);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  z-index: 50;
}

.Header_left__MKmhq {
  display: flex;
  align-items: center;
  gap: 16px;
}

.Header_title__cchLN {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.Header_right__WChiD {
  display: flex;
  align-items: center;
  gap: 16px;
}

.Header_user__1ezj_ {
  display: flex;
  align-items: center;
  gap: 16px;
}

.Header_userInfo__bC4JS {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.Header_userName__xX6C5 {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
}

.Header_userRole__YQbFZ {
  font-size: 12px;
  color: var(--text-secondary);
}

.Header_logoutBtn__0mHyf {
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  background-color: transparent;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-secondary);
  transition: all 0.2s;
}

.Header_logoutBtn__0mHyf:hover {
  background-color: var(--background);
  color: var(--text-primary);
}

/* Mobile responsive */
@media (max-width: 768px) {
  .Header_header__MvnS2 {
    left: 0;
    padding: 0 16px;
  }

  .Header_userInfo__bC4JS {
    display: none;
  }
}

/*!******************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[7].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[7].use[3]!./src/components/AppShell.module.css ***!
  \******************************************************************************************************************************************************************************************************************************************************************************/
.AppShell_shell__YCowG {
  min-height: 100vh;
}

.AppShell_main__NYoit {
  margin-left: var(--sidebar-width);
  min-height: 100vh;
}

.AppShell_content__InPW3 {
  padding: 24px;
  padding-top: calc(var(--header-height) + 24px);
  min-height: calc(100vh - var(--header-height));
}

.AppShell_loading__rrzix {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .AppShell_main__NYoit {
    margin-left: 0;
  }

  .AppShell_content__InPW3 {
    padding: 16px;
    padding-top: calc(var(--header-height) + 16px);
  }
}

/*!********************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[3]!./src/styles/globals.css ***!
  \********************************************************************************************************************************************************************************************************************************************************************/
/* GDX Sharebase - Global Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --secondary: #64748b;
  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;
  --background: #f8fafc;
  --surface: #ffffff;
  --border: #e2e8f0;
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --sidebar-width: 260px;
  --header-height: 64px;
}

html, body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--background);
  color: var(--text-primary);
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  font-family: inherit;
}

/* Form elements */
input, select, textarea {
  font-family: inherit;
  font-size: 14px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  outline: none;
  transition: border-color 0.2s;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--primary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 6px;
  border: none;
  transition: all 0.2s;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
}

.btn-secondary {
  background-color: var(--surface);
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background-color: var(--background);
}

.btn-danger {
  background-color: var(--danger);
  color: white;
}

.btn-danger:hover {
  opacity: 0.9;
}

/* Status badges */
.badge {
  display: inline-block;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 500;
  border-radius: 4px;
}

.badge-planned {
  background-color: #e0e7ff;
  color: #3730a3;
}

.badge-approved {
  background-color: #dbeafe;
  color: #1e40af;
}

.badge-contracted {
  background-color: #fef3c7;
  color: #92400e;
}

.badge-paid {
  background-color: #dcfce7;
  color: #166534;
}

/* Cards */
.card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
}

/* Tables */
.table {
  width: 100%;
  border-collapse: collapse;
}

.table th, .table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.table th {
  font-weight: 600;
  background-color: var(--background);
}

.table tr:hover {
  background-color: var(--background);
}

/* Loading spinner */
.spinner {
  width: 24px;
  height: 24px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Mobile responsive */
@media (max-width: 768px) {
  :root {
    --sidebar-width: 0px;
  }
}

/* PWA Safe Area for iOS notches */
html {
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}

body {
  /* Ensure no horizontal scroll at 360px */
  overflow-x: hidden;
  min-width: 320px;
}

/* PWA standalone mode styles */
@media all and (display-mode: standalone) {
  body {
    /* Additional padding for notch when in standalone mode */
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
  }
}

/* Ensure touch targets are at least 44px for mobile */
@media (max-width: 768px) {
  button,
  a,
  input,
  select {
    min-height: 44px;
  }
}

/* Prevent text selection on app-like elements */
.no-select {
  -webkit-user-select: none;
  -moz-user-select: none;
       user-select: none;
}

/* Smooth scrolling for the app */
html {
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

