.cr-e337f1fd-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    overflow: hidden;
}

.cr-e337f1fd-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.cr-e337f1fd-desc {
    font-size: 14px;
    color: #666;
    margin: 0 0 24px 0;
    line-height: 1.5;
}

.cr-e337f1fd-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

@media (max-width: 767px) {
    .cr-e337f1fd-layout {
        flex-direction: column;
    }
}

.cr-e337f1fd-calendar-section {
    flex: 1;
    min-width: 280px;
}

.cr-e337f1fd-form-section {
    flex: 1;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Calendar Navigation */
.cr-e337f1fd-cal-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.cr-e337f1fd-cal-header {
    font-size: 18px;
    font-weight: 600;
}

.cr-e337f1fd-prev,
.cr-e337f1fd-next {
    background: none;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    width: 36px;
    height: 36px;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
    color: #333;
}

.cr-e337f1fd-prev:hover,
.cr-e337f1fd-next:hover {
    background-color: #f0f0f0;
}

/* Weekdays */
.cr-e337f1fd-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: #999;
    margin-bottom: 8px;
    text-transform: uppercase;
}

/* Days Grid */
.cr-e337f1fd-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 20px;
}

.cr-e337f1fd-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
    border: 2px solid transparent;
    background: none;
    color: #333;
    padding: 0;
    min-width: 0;
}

.cr-e337f1fd-day:hover:not(.cr-e337f1fd-disabled) {
    background-color: #f0f0f0;
}

.cr-e337f1fd-day.cr-e337f1fd-disabled {
    color: #ccc;
    cursor: not-allowed;
}

.cr-e337f1fd-day.cr-e337f1fd-today {
    border: 2px solid #e94560;
}

.cr-e337f1fd-day.cr-e337f1fd-selected {
    background-color: #e94560;
    color: #fff;
    font-weight: 600;
}

.cr-e337f1fd-day.cr-e337f1fd-in-range {
    background-color: rgba(233, 69, 96, 0.15);
    border-radius: 50%;
}

.cr-e337f1fd-day.cr-e337f1fd-empty {
    cursor: default;
}

/* Date Display */
.cr-e337f1fd-date-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
}

.cr-e337f1fd-date-box {
    text-align: center;
}

.cr-e337f1fd-date-box small {
    display: block;
    font-size: 11px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.cr-e337f1fd-date-box span {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.cr-e337f1fd-date-arrow {
    font-size: 20px;
    color: #ccc;
}

/* Form Fields */
.cr-e337f1fd-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.cr-e337f1fd-field label {
    font-size: 13px;
    font-weight: 600;
}

.cr-e337f1fd-field input,
.cr-e337f1fd-field select,
.cr-e337f1fd-field textarea {
    padding: 10px 14px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
}

.cr-e337f1fd-field input,
.cr-e337f1fd-field select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.cr-e337f1fd-field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
}

.cr-e337f1fd-field textarea {
    resize: vertical;
    min-height: 60px;
}

.cr-e337f1fd-field input:focus,
.cr-e337f1fd-field select:focus,
.cr-e337f1fd-field textarea:focus {
    border-color: #e94560;
}

/* Submit Button */
.cr-e337f1fd-submit {
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    transition: background-color 0.2s, transform 0.1s;
    width: 100%;
    margin-top: 8px;
}

.cr-e337f1fd-submit:active {
    transform: scale(0.98);
}

.cr-e337f1fd-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Message */
.cr-e337f1fd-message {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
    line-height: 1.4;
}

.cr-e337f1fd-message.cr-e337f1fd-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.cr-e337f1fd-message.cr-e337f1fd-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
