html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* Timesheet specific styles */
.timesheet-table {
    font-size: 0.9rem;
    border: 2px solid #000;
}

.timesheet-table th {
    background-color: #343a40 !important;
    color: white;
    text-align: center;
    vertical-align: middle;
    font-weight: bold;
    border: 1px solid #000;
}

.timesheet-table td {
    vertical-align: middle;
    padding: 8px;
    border: 1px solid #000;
}

.week-cell {
    background-color: #f8f9fa;
    font-weight: bold;
    writing-mode: vertical-lr;
    text-orientation: mixed;
    width: 60px;
}

.form-control-sm {
    font-size: 0.8rem;
}

.timesheet-header {
    border: 2px solid #000;
    padding: 20px;
    margin: 20px 0;
    background-color: #f8f9fa;
}

.timesheet-header h3 {
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 24px;
}

.timesheet-header p {
    font-style: italic;
    margin-bottom: 10px;
    font-size: 14px;
}

.timesheet-header h4 {
    font-weight: bold;
    text-decoration: underline;
    font-size: 20px;
}

.company-logo {
    text-align: center;
    margin-bottom: 30px;
}

.company-name {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.company-subtitle {
    color: #666;
    font-size: 14px;
}

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    .timesheet-table {
        font-size: 10px;
    }
    
    .timesheet-header {
        page-break-inside: avoid;
    }
}