/**
 * Poulpiz Calendar Styles
 * Custom calendar component with mobile-first design
 */
.poulpiz-calendar {
  width: 100%;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.poulpiz-calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
  flex-wrap: wrap;
  gap: 0.5rem;
}
@media (max-width: 767px) {
  .poulpiz-calendar-header {
    padding: 0.75rem;
  }
}

.poulpiz-calendar-nav {
  display: flex;
  gap: 0.5rem;
}

.poulpiz-calendar-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #212529;
  flex: 1;
  text-align: center;
}
@media (max-width: 767px) {
  .poulpiz-calendar-title {
    font-size: 1rem;
    order: -1;
    width: 100%;
    margin-bottom: 0.5rem;
  }
}

.poulpiz-calendar-view-switcher {
  display: flex;
  gap: 0.25rem;
}

button.poulpiz-btn,
.poulpiz-btn {
  padding: 0.6rem 1.2rem !important;
  background: linear-gradient(135deg, #fff39b, #ffeaa7) !important;
  background-image: linear-gradient(135deg, #fff39b, #ffeaa7) !important;
  border: none !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  color: #2d3436 !important;
  box-shadow: 0 2px 8px rgba(255, 243, 155, 0.3) !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  outline: none !important;
  font-family: inherit !important;
  display: inline-block !important;
  text-decoration: none !important;
  line-height: 1.2 !important;
}
button.poulpiz-btn:hover,
.poulpiz-btn:hover {
  background: linear-gradient(135deg, #ffeaa7, #fff39b) !important;
  background-image: linear-gradient(135deg, #ffeaa7, #fff39b) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(255, 243, 155, 0.5) !important;
  color: #2d3436 !important;
}
button.poulpiz-btn:focus,
.poulpiz-btn:focus {
  outline: 2px solid #ffeaa7 !important;
  outline-offset: 2px !important;
}
button.poulpiz-btn.active,
.poulpiz-btn.active {
  background: linear-gradient(135deg, #667eea, #764ba2) !important;
  background-image: linear-gradient(135deg, #667eea, #764ba2) !important;
  color: white !important;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3) !important;
}
button.poulpiz-btn.active:hover,
.poulpiz-btn.active:hover {
  background: linear-gradient(135deg, #764ba2, #667eea) !important;
  background-image: linear-gradient(135deg, #764ba2, #667eea) !important;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.5) !important;
  color: white !important;
}
@media (max-width: 767px) {
  button.poulpiz-btn,
  .poulpiz-btn {
    padding: 0.5rem 0.9rem !important;
    font-size: 0.8rem !important;
  }
}

.poulpiz-btn-prev,
.poulpiz-btn-next {
  padding: 0.5rem 0.75rem !important;
  font-size: 1.1rem !important;
  line-height: 1 !important;
  min-width: 40px !important;
  font-weight: bold !important;
}

.poulpiz-month-view {
  padding: 1rem;
}
@media (max-width: 767px) {
  .poulpiz-month-view {
    padding: 0.5rem;
  }
}

.poulpiz-day-headers {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-bottom: 0.5rem;
}

.poulpiz-day-header {
  text-align: center;
  font-weight: 600;
  font-size: 0.875rem;
  color: #6c757d;
  padding: 0.5rem 0;
}
@media (max-width: 767px) {
  .poulpiz-day-header {
    font-size: 0.75rem;
  }
}

.poulpiz-days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  background: #dee2e6;
  border: 1px solid #dee2e6;
}

.poulpiz-day {
  background: white;
  min-height: 80px;
  padding: 0.25rem;
  cursor: pointer;
  transition: background 0.2s;
  position: relative;
}
.poulpiz-day:hover:not(.past) {
  background: #f8f9fa;
}
.poulpiz-day.other-month {
  background: #fafafa;
}
.poulpiz-day.other-month .poulpiz-day-number {
  color: #adb5bd;
}
.poulpiz-day.today {
  background: #e7f3ff;
}
.poulpiz-day.today .poulpiz-day-number {
  background: #007bff;
  color: white;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.poulpiz-day.past {
  background: #f5f5f5;
  cursor: not-allowed;
  opacity: 0.6;
}
.poulpiz-day.past .poulpiz-event {
  cursor: not-allowed !important;
  pointer-events: none;
}
@media (max-width: 767px) {
  .poulpiz-day {
    min-height: 60px;
    padding: 2px;
  }
}

.poulpiz-day-number {
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}
@media (max-width: 767px) {
  .poulpiz-day-number {
    font-size: 0.75rem;
  }
}

.poulpiz-day-events {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.poulpiz-event {
  font-size: 0.75rem;
  padding: 2px 4px;
  border-radius: 3px;
  color: white;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
  position: relative;
}
.poulpiz-event.in-basket {
  border: 2px solid #28a745 !important;
  box-shadow: 0 0 5px rgba(40, 167, 69, 0.3) !important;
}
.poulpiz-event.in-basket::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 20px;
  height: 20px;
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M7 18c-1.1 0-1.99.9-1.99 2S5.9 22 7 22s2-.9 2-2-.9-2-2-2zM1 2v2h2l3.6 7.59-1.35 2.45c-.16.28-.25.61-.25.96 0 1.1.9 2 2 2h12v-2H7.42c-.14 0-.25-.11-.25-.25l.03-.12.9-1.63h7.45c.75 0 1.41-.41 1.75-1.03l3.58-6.49c.08-.14.12-.31.12-.48 0-.55-.45-1-1-1H5.21l-.94-2H1zm16 16c-1.1 0-1.99.9-1.99 2s.89 2 1.99 2 2-.9 2-2-.9-2-2-2z'/%3E%3C/svg%3E");
  background-size: 14px 14px;
  background-position: center;
  background-repeat: no-repeat;
}
.poulpiz-event:hover {
  opacity: 0.9;
}
@media (max-width: 767px) {
  .poulpiz-event {
    font-size: 0.65rem;
    padding: 1px 2px;
  }
}

.poulpiz-more-events {
  font-size: 0.7rem;
  color: #6c757d;
  cursor: pointer;
  margin-top: 2px;
}
.poulpiz-more-events:hover {
  color: #007bff;
}

.poulpiz-list-view {
  padding: 1rem;
  min-height: 400px;
}
@media (max-width: 767px) {
  .poulpiz-list-view {
    padding: 0.5rem;
  }
}

.poulpiz-list-empty {
  text-align: center;
  color: #6c757d;
  padding: 3rem 1rem;
  font-size: 1rem;
}

.poulpiz-list-day {
  margin-bottom: 1.5rem;
}

.poulpiz-list-day-header {
  font-weight: 600;
  font-size: 0.9rem;
  color: #495057;
  padding: 0.5rem;
  background: #f8f9fa;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

.poulpiz-list-event {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem;
  background: white;
  border: 1px solid #e9ecef;
  border-radius: 4px;
  margin-bottom: 0.5rem;
  cursor: pointer;
  transition: all 0.2s;
}
.poulpiz-list-event:hover {
  background: #f8f9fa;
  border-color: #dee2e6;
  transform: translateX(2px);
}
@media (max-width: 767px) {
  .poulpiz-list-event {
    padding: 0.5rem;
  }
}

.poulpiz-list-event-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.poulpiz-list-event-content {
  flex: 1;
}

.poulpiz-list-event-title {
  font-size: 0.95rem;
  color: #212529;
  margin-bottom: 0.25rem;
}

.poulpiz-list-event-time {
  font-size: 0.85rem;
  color: #6c757d;
}

.poulpiz-week3-view {
  padding: 1rem;
  overflow-x: auto;
}
@media (max-width: 767px) {
  .poulpiz-week3-view {
    padding: 0.5rem;
  }
}

.poulpiz-week3-headers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 2px solid #dee2e6;
  margin-bottom: 0.5rem;
  gap: 0.5rem;
}

.poulpiz-week3-day-header {
  text-align: center;
  padding: 0.5rem;
  font-size: 0.875rem;
}
.poulpiz-week3-day-header .day-name {
  font-weight: 600;
  color: #6c757d;
}
.poulpiz-week3-day-header .day-number {
  font-size: 1.25rem;
  color: #212529;
}
.poulpiz-week3-day-header.today {
  background: #e7f3ff;
}
.poulpiz-week3-day-header.today .day-number {
  color: #007bff;
}
@media (max-width: 767px) {
  .poulpiz-week3-day-header {
    padding: 0.25rem;
    font-size: 0.75rem;
  }
  .poulpiz-week3-day-header .day-number {
    font-size: 1rem;
  }
}

.poulpiz-week3-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  min-height: 300px;
}

.poulpiz-week3-day-column {
  display: flex;
  flex-direction: column;
  border: 1px solid #dee2e6;
  border-radius: 0.25rem;
  padding: 0.5rem;
  background: white;
  min-height: 200px;
  cursor: pointer;
  transition: background 0.2s;
}
.poulpiz-week3-day-column:hover:not(.past) {
  background: #f8f9fa;
}
.poulpiz-week3-day-column.past {
  background: #fafafa;
  cursor: not-allowed;
  opacity: 0.7;
}
@media (max-width: 767px) {
  .poulpiz-week3-day-column {
    padding: 0.25rem;
    min-height: 150px;
  }
}

.poulpiz-week3-empty {
  color: #6c757d;
  font-style: italic;
  font-size: 0.875rem;
  text-align: center;
  margin-top: 1rem;
}
@media (max-width: 767px) {
  .poulpiz-week3-empty {
    font-size: 0.75rem;
  }
}

.poulpiz-week3-event {
  font-size: 0.875rem;
  padding: 0.5rem;
  border-radius: 0.25rem;
  color: white;
  margin-bottom: 0.5rem;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: #28a745;
}
.poulpiz-week3-event.management {
  background: #007bff;
}
.poulpiz-week3-event:hover {
  opacity: 0.9;
}
.poulpiz-week3-event .event-time {
  font-size: 0.75rem;
  opacity: 0.9;
}
@media (max-width: 767px) {
  .poulpiz-week3-event {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    margin-bottom: 0.25rem;
  }
  .poulpiz-week3-event .event-time {
    font-size: 0.65rem;
  }
}

.poulpiz-popup {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: rgba(0, 0, 0, 0.5);
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 9999 !important;
  padding: 1rem;
}

.poulpiz-popup-content {
  background: white;
  border-radius: 8px;
  max-width: 400px;
  width: 100%;
  max-height: 80vh;
  overflow: auto;
  margin: auto;
  position: relative;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.poulpiz-popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid #e9ecef;
}
.poulpiz-popup-header h3 {
  margin: 0;
  font-size: 1.1rem;
}

.poulpiz-popup-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #6c757d;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.poulpiz-popup-close:hover {
  color: #212529;
}

.poulpiz-popup-body {
  padding: 1rem;
}

.poulpiz-popup-event {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  margin-bottom: 0.5rem;
  background: #f8f9fa;
  border-radius: 4px;
}
.poulpiz-popup-event .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

/*# sourceMappingURL=poulpiz-calendar.output.css.map */
