/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */
:root {
  --bg: #ffffff;          /* slate-950-ish */
  --bg-faint: #d2d2d2;          /* slate-950-ish */
  --bg-light: #a0aec3b2;          /* slate-950-ish */
  --bg-hover: #546a8cb2;          /* slate-950-ish */
  --text-input: #efefef;     /* gray-900 */
  --title: #246953;        /* gray-200 */
  --text: #243b69;        /* gray-200 */
  --border: #7c92b0;      /* gray-800 */
  --primary: #3b82f6;     /* blue-500 */
  --secondary: #929292;     /* gray-500 */
  --focus: #fb00ff;     /* blue-500 */
  --success: #22c55e;     /* green-500 */
  --danger: #ef4444;      /* red-500 */
  --warning: #f59e0b;     /* amber-500 */
  --panel-radius: 8px;     /* panel border radius */
  --input-radius: 4px;     /* input border radius */
  --small-button-radius: 4px;     /* small button border radius */
  --zoom-button-radius: 8px;     /* zoom button border radius */
  --large-button-radius: 6px;     /* large button border radius */
  --footer-link: #ffffff;
    --logo: url("/assets/TaylorLogo-0d13ad4a.png");
    --job-color: #4497ef;
    --panel-color: #30c7ac;



    --frame-color: #f0f0f0;
    --door-color: #a2daa8;
    --post-color: #e46565;
    --vacant-color: #f2db89;


    --small-button-size: 12px;
--small-button-padding: 3px 6px;
}


* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans,
               Helvetica Neue, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {

}

.material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 14px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
    vertical-align: text-bottom;
    transform: translateY(2px);
}


.material-symbols-outlined {
  font-variation-settings:
  'FILL' 0,
  'wght' 400,
  'GRAD' 0,
  'opsz' 24
}

.folder-icon {
    color: var(--job-color);
}
.panel-icon {
    color: var(--panel-color);
}





/* Header styles */
header.app-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--header-bar);
  backdrop-filter: saturate(180%) blur(4px);
}

header.app-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* max-width: 1200px; */
  margin: 0 auto;
  padding: 14px 24px;
}

header .brand {
  font-weight: 700;
  letter-spacing: 0.2px;
}


.brand img {
  max-height: 25px;
  object-fit: contain;
}

.brand-logo {
  width: 120px;
  height: 40px;
  background-image: var(--logo);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center left;
  transition: background-image 0.3s ease;
}











  .form-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
  }
  
  .form-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border);
  }
  
  .form-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text);
    margin: 0;
  }
  
  .form-subtitle {
    font-size: 1.1rem;
    color: var(--text);
    opacity: 0.8;
    margin-top: 0.5rem;
  }
  
  .form-wrapper {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--panel-radius);
    padding: 2rem;
  }
  
  .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  
  .form-group {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    margin-bottom: 1.5rem;
  }
  
  .form-group.full-width {
    grid-column: 1 / -1;
  }
  
  .form-label {
    display: block;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0;
    width: 200px;
    text-align: right;
    padding-right: 1rem;
    padding-top: 0.75rem;
    flex-shrink: 0;
  }
  
  .form-input-wrapper {
    display: flex;
    flex-direction: column;
    width: 300px;
    flex-shrink: 0;
  }
  
  .form-input,
  .form-select {
    width: 300px;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--input-radius);
    background: var(--text-input);
    color: var(--text);
    font-size: 1rem;
    box-sizing: border-box;
  }
  
  .form-input:focus,
  .form-select:focus {
    outline: none;
    border-color: var(--focus);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--focus) 20%, transparent);
  }
  
  .form-checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 300px;
  }
  
  .form-checkbox {
    width: auto;
    margin: 0;
  }
  
  .form-help {
    font-size: 0.875rem;
    color: var(--text);
    opacity: 0.7;
    margin-top: 0.25rem;
  }
  
  .form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    grid-column: 1 / -1;
  }
  
  .btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--large-button-radius);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
    font-size: 1rem;
  }
  
  .btn-primary {
    background: var(--primary);
    color: var(--bg);
  }
  
  .btn-primary:hover {
    background: color-mix(in srgb, var(--primary) 85%, black);
  }
  
  .btn-secondary {
    background: var(--border);
    color: var(--text);
  }
  
  .btn-secondary:hover {
    background: color-mix(in srgb, var(--border) 80%, black);
  }
  
  .error-messages {
    background: color-mix(in srgb, var(--danger) 10%, transparent);
    border: 1px solid var(--danger);
    border-radius: var(--input-radius);
    padding: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .error-messages ul {
    margin: 0;
    padding-left: 1.5rem;
    color: var(--danger);
  }
  
  .back-link {
    color: var(--primary);
    text-decoration: none;
    display: inline-block;
  }
  
  .back-link:hover {
    text-decoration: underline;
  }
  
  @media (max-width: 640px) {
    .form-grid {
      grid-template-columns: 1fr;
    }
    
    .form-group {
      flex-direction: column;
      align-items: stretch;
    }
    
    .form-label {
      width: auto;
      text-align: left;
      padding-right: 0;
      padding-top: 0;
      margin-bottom: 0.5rem;
    }
    
    .form-input-wrapper {
      width: 100%;
    }
    
    .form-input,
    .form-select {
      width: 100%;
    }
    
    .form-checkbox-wrapper {
      width: auto;
    }
  }




/* Frame type color classes */
.frame-color {
    background: var(--frame-color);
}
.door-color {
    background: color-mix(in srgb, var(--warning) 20%, var(--door-color));
}
.vacant-color {
    background: color-mix(in srgb, var(--text) 10%, var(--vacant-color));
}
.post-color {
    background: color-mix(in srgb, var(--primary) 20%, var(--post-color));
}





.row_col {
    font-size: 8px;
    color: var(--text);
}


.shopping-header {
  display:flex;
  flex-direction: row;
  gap: 20px;
  padding: 10px 0px; 
}

.shopping-header .title {
  font-size: 1rem; font-weight: 600;
}


.zoom-pill  {
  height: 22px;
  font-size: 10px;
  color: var(--text);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0rem;
  width: fit-content;
}

.zoom-pill .zoom {
  height: 22px;
  padding: 4px 3px;
  background-color: var(--text-input);
  border: 1px solid var(--border);
}


.zoom-pill .in, .zoom-pill .out {
  padding: 0px 2px;
    height: 22px;
    cursor: pointer;
    background: var(--text-input);
    border: 1px solid var(--border);
}

.zoom-pill .in {
  border-top-right-radius: 50%;
  border-bottom-right-radius: 50%;
}

.zoom-pill .in:hover, .zoom-pill .out:hover {
background: var(--text);
color: var(--text-input);
border: 1px solid var(--text);
}


.zoom-pill .out {
  border-top-left-radius: 50%;
  border-bottom-left-radius: 50%;

}


.zoom-pill .material-symbols-outlined {
  font-size: 16px;
  position: relative;
  top: -0px;   /* negative moves up, positive moves down */
}



.zoom-pill.layout {
    position: absolute;
    top: 10px;
    left: 20px;
    z-index: 1000;
}

/* Delete confirmation dialog */
.delete-dialog-box {
    position: fixed;
    background: var(--bg);
    border: 2px solid var(--danger);
    border-radius: var(--panel-radius);
    padding: 1.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    min-width: 300px;
    max-width: 400px;
    font-family: system-ui, -apple-system, sans-serif;
    transform: translate(-50%, -50%);
}

.delete-dialog-box .dialog-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--danger);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.delete-dialog-box .dialog-message {
    color: var(--text);
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.delete-dialog-box .dialog-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
}

.delete-dialog-box .dialog-button {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--input-radius);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.delete-dialog-box .dialog-button-cancel {
    background: var(--bg);
    color: var(--text);
}

.delete-dialog-box .dialog-button-cancel:hover {
    background: var(--text-input);
}

.delete-dialog-box .dialog-button-delete {
    background: var(--danger);
    color: var(--bg);
    border-color: var(--danger);
}

.delete-dialog-box .dialog-button-delete:hover {
    background: #dc2626;
    border-color: #dc2626;
}

.delete-dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 9999;
    backdrop-filter: blur(2px);
}