/* 
Theme Name: Chelsy
Theme URI: https://github.com/elementor/hello-theme-child/
Author: 8SCOPE
Author URI: https://8scope.com
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* Calendar styles */
#chelsy-calendar { direction: rtl; max-width: 100%; overflow-x: auto; margin: 1em 0; }

.chelsy-calendar-table {
    border-collapse: collapse;
    width: 100%;
    text-align: center;
    font-family: Arial, sans-serif;
}

.chelsy-calendar-table caption {
    font-size: 1.2em;
    margin-bottom: 0.5em;
}

.chelsy-calendar-table th,
.chelsy-calendar-table td {
    border: 1px solid #ddd;
    padding: 0;
    position: relative;
    vertical-align: top;
    min-width: 3em;
}

.chelsy-calendar-table th {
    background-color: #f5f5f5;
}

.chelsy-holiday {
    display: block;
    background-color: #ffe5e0;
    color: #d00;
    font-size: 0.75em;
    margin-top: 0.2em;
    border-radius: 3px;
    padding: 0 2px;
}

/* Calendar nav */
.chelsy-calendar-nav {
    text-align: right;
    margin-bottom: 0.5em;
}
.chelsy-calendar-nav button {
    margin-left: 0.5em;
    padding: 0.3em 0.6em;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 3px;
    cursor: pointer;
}

/* Fixed cell size */
.chelsy-calendar-table th,
.chelsy-calendar-table td {
    width: 3.5em;
}

/* Cell wrapper flex layout */
.chelsy-calendar-cell {
    display: flex;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
    min-height: 50px;
    height: 100%;
    position: absolute;
}
.chelsy-day-number {
    font-weight: bold;
    align-self: flex-start;
}
.chelsy-holidays {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 0.2em;
    display: none;;
}



.chelsy-calendar-table tbody tr{
    height: 50px;
}

.chelsy-calendar-table thead th{
    background-color: rgb(80,80,80);
    color: white;
}

/* Selection styles */
.chelsy-calendar-cell:hover {
    cursor: pointer;
    background-color: #f0f8ff;
}
.chelsy-selected-day {
    background-color: #fffed2 !important;
}

/* Disabled day style */
.chelsy-disabled-day {
    background-color: #f5f5f5;
    color: #999;
    cursor: not-allowed;
}

/* Two calendars wrapper */
.chelsy-calendars-wrapper {
    display: flex;
    gap: 1em;
}

.chelsy-calendars-wrapper{
    min-height: 380px;
}

.chelsy-calendar-nav{
    display: flex;
    justify-content: space-between;
    max-width: 500px;
    margin: 40px auto;
}

#gf_1 input[readonly]{
    background: rgb(235,235,235) !important;
    color: rgb(153,153,153) !important;
    border: none !important;
    pointer-events: none;
}

/* New design */
/* I have added "custom-form" class to the GF form */
