
body { 
    font-family: Arial, sans-serif; 
    margin: 0; 
    padding: 0; 
    overflow: hidden; /* Prevent body scrolling */
}

.layout-container {
    display: flex;
    height: 100vh; /* Change from min-height to fixed height */
    overflow: hidden; /* Prevent container scrolling */
}

.sidebar {
    width: 250px;
    background: #2c3e50;
    color: white;
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-shrink: 0; /* Prevent sidebar from shrinking */
}

.sidebar-title {
    font-size: 24px;
    margin-bottom: 30px;
    font-weight: bold;
}

.welcome-message {
    font-size: 16px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.customer-selector {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.customer-selector label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    opacity: 0.8;
}

.customer-selector select {
    width: 100%;
    padding: 8px;
    background-color: #34495e;
    color: white;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 4px;
    font-size: 14px;
}

.customer-selector select:focus {
    outline: none;
    border-color: #3498db;
}

.customer-selector select option {
    background-color: #2c3e50;
    color: white;
}

/* Customer selection page styles */
.customer-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.customer-item {
    display: block;
    text-decoration: none;
    padding: 16px;
    background-color: #f5f7fa;
    border: 1px solid #e1e8ed;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.customer-item:hover {
    background-color: #edf2f7;
    border-color: #cbd5e0;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.customer-name {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.customer-email {
    font-size: 14px;
    color: #718096;
}

.menu-item {
    color: white;
    text-decoration: none;
    padding: 10px 0;
    display: block;
    font-size: 16px;
}

.menu-item:hover {
    color: #3498db;
}

.menu-item.active {
    color: #3498db;
    font-weight: bold;
}

.menu-item.disabled {
    color: rgba(255,255,255,0.3);
    cursor: not-allowed;
}

.menu-item.disabled:hover {
    color: rgba(255,255,255,0.3);
}

.logout-container {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.main-content {
    flex: 1;
    padding: 40px;
    background: #f5f7fa;
    overflow-y: auto; /* Enable vertical scrolling only for main content */
}

.container { 
    max-width: 800px; 
    margin: 0 auto; 
}

.card { 
    background: #fff; 
    border-radius: 8px; 
    padding: 20px; 
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); 
    margin-bottom: 20px;
}

.button { 
    background: #3498db; 
    color: white; 
    border: none; 
    padding: 10px 20px; 
    border-radius: 4px; 
    cursor: pointer; 
    text-decoration: none;
    display: inline-block;
}

.button:hover { 
    background: #2980b9; 
}

.textarea { 
    width: 100%; 
    min-height: 100px; 
    margin: 10px 0; 
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px;
    box-sizing: border-box; /* Include padding in width calculation */
}

.preview { 
    /* height: 200px; */
    width: 100%;
    margin: 10px 0;
    background: #f5f5f5; 
    border-radius: 4px;
    box-sizing: border-box; /* Include padding in width calculation */
}

.preview pre {
    margin: 0;
    padding: 10px;
    height: 100%;
    overflow-x: auto; /* Enable horizontal scrolling for content */
    overflow-y: auto; /* Enable vertical scrolling for content */
    white-space: pre;
}

.success { 
    color: #27ae60; 
    margin-bottom: 15px; 
    padding: 10px;
    background: #d4efdf;
    border-radius: 4px;
}

.error { 
    color: #c0392b; 
    margin-bottom: 15px; 
    padding: 15px;
    background: #f9ebea;
    border-radius: 4px;
    border-left: 4px solid #e74c3c;
    font-weight: 500;
}

.config-form {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.config-form:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.file-upload {
    margin: 15px 0;
}

.file-upload input[type="file"] {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
}

.button {
    margin-top: 10px;
}

.form-group {
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 500;
    color: #2c3e50;
    font-size: 15px;
}

.form-group input[type="text"] {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

.form-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 8px;
}

.form-group.indented {
    margin-left: 24px;
    opacity: 0.8;
    margin-top: -16px;  /* Reduce space after checkbox when indented */
}

.form-group.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.form-group.checkbox-group input[type="checkbox"] {
    margin: 0;
    flex-shrink: 0;
}

.form-group.checkbox-group.indented {
    margin-left: 32px;  /* Increased indentation to account for checkbox alignment */
}

.footer {
    text-align: center;
    padding: 20px;
    color: #666;
    font-size: 14px;
    border-top: 1px solid #eee;
    margin-top: auto;
}

.login-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 70%;
    padding: 40px;
}

.login-button {
    margin-bottom: 16px;
}

.gsi-material-button {
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  -webkit-appearance: none;
  background-color: WHITE;
  background-image: none;
  border: 1px solid #747775;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  color: #1f1f1f;
  cursor: pointer;
  font-family: 'Roboto', arial, sans-serif;
  font-size: 14px;
  height: 40px;
  letter-spacing: 0.25px;
  outline: none;
  overflow: hidden;
  padding: 0 12px;
  position: relative;
  text-align: center;
  -webkit-transition: background-color .218s, border-color .218s, box-shadow .218s;
  transition: background-color .218s, border-color .218s, box-shadow .218s;
  vertical-align: middle;
  white-space: nowrap;
  width: 240px;
  max-width: 400px;
  min-width: min-content;
}

.gsi-material-button .gsi-material-button-icon {
  height: 20px;
  margin-right: 12px;
  min-width: 20px;
  width: 20px;
}

.gsi-material-button .gsi-material-button-content-wrapper {
  -webkit-align-items: center;
  align-items: center;
  display: flex;
  -webkit-flex-direction: row;
  flex-direction: row;
  -webkit-flex-wrap: nowrap;
  flex-wrap: nowrap;
  height: 100%;
  justify-content: space-between;
  position: relative;
  width: 100%;
}

.gsi-material-button .gsi-material-button-contents {
  -webkit-flex-grow: 1;
  flex-grow: 1;
  font-family: 'Roboto', arial, sans-serif;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: top;
}

.gsi-material-button .gsi-material-button-state {
  -webkit-transition: opacity .218s;
  transition: opacity .218s;
  bottom: 0;
  left: 0;
  opacity: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.gsi-material-button:disabled {
  cursor: default;
  background-color: #ffffff61;
  border-color: #1f1f1f1f;
}

.gsi-material-button:disabled .gsi-material-button-contents {
  opacity: 38%;
}

.gsi-material-button:disabled .gsi-material-button-icon {
  opacity: 38%;
}

.gsi-material-button:not(:disabled):active .gsi-material-button-state, 
.gsi-material-button:not(:disabled):focus .gsi-material-button-state {
  background-color: #303030;
  opacity: 12%;
}

.gsi-material-button:not(:disabled):hover {
  -webkit-box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15);
  box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15);
}

.gsi-material-button:not(:disabled):hover .gsi-material-button-state {
  background-color: #303030;
  opacity: 8%;
}

