﻿body {
    background: linear-gradient(180deg, #fff, #c3c3c3);
}
.main-container {
    display: flex;
    width: 100%;
    height: 100vh;
    justify-content: center;
}
input:read-only.form-control {
    background-color: #f5f5f5 !important;
}
.input-group-text, .form-control {
    font-size: 0.9rem !important;
}
.form-control:focus{
/*   box-shadow:0 0 0 0.1rem  green, 0 0 0 0.25rem #abffa8 ;*/
}
 .logo {
    position:absolute;
    top:0;
    left:50%;
    font-size:2rem;
    text-decoration:none;
}
i{
   cursor:pointer;
}
.card{
    box-shadow:1px 1px 5px gray
}
/* FOR LEFT AND RIGHT SIDE WHEN THERE IS NO ACCOMMODATION PICKED*/
.highlight {
    box-shadow: 0 0 10px rgba(0, 250, 7, 0.5);
    animation: pulse 1.5s infinite alternate;
}

@keyframes pulse {
    from {
        box-shadow: 0 0 5px rgba(0, 250, 7, 0.5);
    }

    to {
        box-shadow: 0 0 25px rgba(0, 200, 7, 0.9);
    }
}
input:disabled,textarea:disabled {
    
    cursor: not-allowed;
}
/*animated-button ******************************************************/
.red{
 
    background: linear-gradient(45deg, #ff6a00, #ee0979);
}
.green {
    background: linear-gradient(45deg, #1dff00, #136023);
}
.animated-button {
    position: fixed;
    bottom: 20px;
    right: 5px;
    padding: 0px 9px;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
 
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 100;
}

    .animated-button:hover {
        transform: scale(1.1);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    }

    .animated-button::before {
       
        top: 50%;
        left: 50%;
        width: 300%;
        height: 300%;
        background: rgba(255, 255, 255, 0.3);
        border-radius: 10%;
        transform: translate(-50%, -50%) scale(0);
         
        transition: transform 0.5s ease;
    }

    .animated-button:hover::before {
        transform: translate(-50%, -50%) scale(1);
    }

    .animated-button:active {
        transform: scale(1.05);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    }
    /*animated-button ******************************************************/

    /* message in the middle of screen*/
#message {
    position: fixed;
    top: 5%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #f0f0f0;
    color: #333;
    padding: 1rem 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

    #message.show {
        opacity: 0.8;
        pointer-events: auto;
        transform: translate(-50%, 0);
    }


    /* /message in the middle of screen*/

/* Červené orámování, když je hodnota > max datum splatnosti*/
.form-control.overdue {
    border-color: #c0a300 !important;
    box-shadow: 0 0 0 .2rem rgba(195,201,25,.25);
    background-color: #ffe768;
    font-weight:bolder;
}
.form-control.nopaid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 .2rem rgba(220,53,69,.25);
    background-color: lightpink;
    font-weight: bolder;
}


/*pdf header and footer settings */
.section-title {
    font-size: 1rem;
    font-weight: 600;
}

.section-box {
    background: #f6fef0;
    border: 1px solid #dee2e6;
    border-radius: .5rem;
    padding: .75rem;
}

.logo-preview {
    width: 100%;
    max-height: 90px;
    object-fit: contain;
    border: 1px dashed #ced4da;
    border-radius: .5rem;
    background: #fff;
}