/* ========================================
   PROFESSIONAL MY ENTRIES PAGE DESIGN
   Consistent sizing and spacing throughout
   ======================================== */

/* Professional Header Bar */
.gla-professional-header {
  background: #ffffff;
  border-bottom: 1px solid #e5e5e5;
  padding: 16px 0;
  margin-bottom: 32px;
}

.gla-header-top {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.gla-user-welcome {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.gla-welcome-label {
  font-size: 14px;
  color: #666;
  font-weight: 400;
}

.gla-user-name {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
}

.gla-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Credit Display - Compact size */
.gla-credit-display {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 14px;
  background: #fafafa;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
}

.gla-credit-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #666;
  font-weight: 500;
}

.gla-credit-value {
  font-size: 14px;
  font-weight: 700;
  color: #d4af37;
}

/* Profile Button - Much smaller height */
.gla-profile-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 26px !important;
  padding: 0 10px !important;
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  color: #555;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  line-height: 1;
  min-height: 26px !important;
  max-height: 26px !important;
}

.gla-profile-btn:hover {
  background: #e8e8e8;
  border-color: #d0d0d0;
  color: #1a1a1a;
}

.gla-profile-btn svg {
  width: 12px !important;
  height: 12px !important;
  opacity: 0.7;
  flex-shrink: 0;
}

/* Page Header with Title and Actions */
.gla-page-header {
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.gla-page-title {
  font-size: 32px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
  letter-spacing: -0.5px;
}

.gla-page-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* Professional Button System - ALL SAME HEIGHT */
.gla-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.gla-btn svg {
  width: 16px;
  height: 16px;
  opacity: 0.9;
  flex-shrink: 0;
}

.gla-btn-primary {
  background: #d4af37;
  color: #1a1a1a;
  box-shadow: 0 1px 3px rgba(212, 175, 55, 0.3);
}

.gla-btn-primary:hover {
  background: #c09b2e;
  box-shadow: 0 2px 6px rgba(212, 175, 55, 0.4);
  transform: translateY(-1px);
  color: #000;
}

.gla-btn-secondary {
  background: #1a1a1a;
  color: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.gla-btn-secondary:hover {
  background: #2a2a2a;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transform: translateY(-1px);
  color: #ffffff;
}

/* Filter Group - Same height as buttons */
.gla-filter-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 12px;
  background: #fafafa;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  position: relative;
}

.gla-filter-label {
  font-size: 11px;
  font-weight: 600;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
  white-space: nowrap;
}

.gla-filter-select {
  height: 28px;
  min-width: 100px;
  padding: 0 28px 0 10px;
  border: 1px solid #d0d0d0;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  background-color: white;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-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='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 12px;
  position: relative;
  z-index: 1;
}

.gla-filter-select:hover {
  border-color: #b0b0b0;
}

.gla-filter-select:focus {
  outline: none;
  border-color: #d4af37;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .gla-page-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .gla-page-actions {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .gla-professional-header {
    padding: 12px 0;
  }
  
  .gla-header-top {
    padding: 0 15px;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .gla-user-welcome {
    width: 100%;
    margin-bottom: 5px;
  }
  
  .gla-welcome-label {
    font-size: 13px;
  }
  
  .gla-user-name {
    font-size: 15px;
  }
  
  .gla-header-actions {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }
  
  .gla-credit-display {
    flex: 1;
    min-width: 0;
    height: 36px;
    padding: 0 10px;
    justify-content: center;
  }
  
  .gla-credit-label {
    font-size: 9px;
  }
  
  .gla-credit-value {
    font-size: 13px;
  }
  
  .gla-profile-btn {
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    padding: 0 12px !important;
    font-size: 13px;
    white-space: nowrap;
  }
  
  .gla-page-header {
    padding: 0 15px;
    margin-bottom: 24px;
  }
  
  .gla-page-title {
    font-size: 24px;
    width: 100%;
  }
  
  .gla-page-actions {
    width: 100%;
    gap: 8px;
  }
  
  .gla-btn {
    height: 44px;
    font-size: 14px;
    flex: 1;
    min-width: 0;
  }
  
  .gla-filter-group {
    width: 100%;
    height: 44px;
    justify-content: space-between;
  }
  
  .gla-filter-select {
    flex: 1;
    min-width: 0;
    height: 32px;
  }
}

/* Results Button Style */
.gla-btn-results {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.gla-btn-results:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(245, 87, 108, 0.3);
  color: white;
  text-decoration: none;
}

.gla-btn-results svg {
  width: 16px;
  height: 16px;
}


/* Year Filter Select - Better Visibility */
.gla-year-filter-select {
    padding: 10px 16px;
    border: 2px solid #2271b1;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    color: #2271b1;
    background: white;
    cursor: pointer;
    min-width: 140px;
    height: auto;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.gla-year-filter-select:hover {
    border-color: #135e96;
    box-shadow: 0 0 0 1px #135e96;
}

.gla-year-filter-select:focus {
    outline: none;
    border-color: #135e96;
    box-shadow: 0 0 0 2px rgba(33, 113, 177, 0.2);
}
