/*
Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
Click nbfs://nbhost/SystemFileSystem/Templates/Other/CascadeStyleSheet.css to edit this template
*/
/* 
    Created on : Feb 3, 2026, 12:09:50 PM
    Author     : ml-beata
*/
.ticket-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px 0px;
}
.ticket-card {
    /*flex: 1 1 calc(33.333% - 20px);*/
    flex: 1 1 300px; /* minimum szélesség 300px, növekedhet ha több hely van */
    max-width: 33.333%; /* maximum 3 oszlop szélesség */
    box-sizing: border-box;
    box-sizing: border-box;
    border: 1px solid #ccc;
    padding: 15px;
    border-radius: 0px;
    background: transparent;
}
.order-search-form {
    display: flex;
    justify-content: start;
    padding: 10px 20px;
    width: 100%;
    background-color: rgb(0, 64, 14);
    color: #ffffff;
}
.ticket-form {
    display: flex;
    flex-direction: column;
}
.order-search-row {
    display: flex;
    align-items: center;
    gap: 10px; /* távolság a label és az input között */
    flex-wrap: nowrap; /* ne törjön meg a sor */
    width: 400px;
    padding: 20px 0px;
}
.order-label {
    white-space: nowrap;
    font-weight: 500;
    font-size: 18px;
    margin-bottom: 0;
    padding: 0px 30px
}
.order-input-icon {
    position: relative;
    flex: 1; /* az input + gomb kitölti a maradék helyet */
}
.order-id-input {
    width: 100%;
    padding: 8px 40px 8px 10px; /* jobbra hely a gombnak */
    border: none;
    border-bottom: 2px solid transparent;
    border-radius: 4px;
    font-size: 18px;
    transition: border-color 0.2s, box-shadow 0.2s;
    background-color: #ffffff;
}
.order-id-input:focus {
    outline: none; /* eltávolítjuk a default fókuszt */
    box-shadow: 0 2px 5px rgba(0,0,0,0.2); /* enyhe árnyék */
}
.order-search-btn {
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background-color: rgb(255, 136, 7);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.order-search-btn:hover {
    background-color: rgb(2, 102, 14);
}
.order-search-btn i {
    font-size: 22px;
}
.form-row {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    gap: 10px; /* label és input között */
}
.ticket-card .form-label {
    flex: 0 0 150px; /* fix szélesség a labelnek */
    font-weight: 500;
    display: block;
    font-size: 16px;
}
.form-input {
    flex: 1; /* kitölti a maradék helyet */
    padding: 8px 10px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    background-color: #ffffff;
}
.form-input:focus {
    border-color: #000;
    outline: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2); /* enyhe árnyék */
}
.photo-cont {
    display: flex;
    align-items: center;
    gap: 10px;
}
.ticket-card .photo-cont input[type="file"]::-webkit-file-upload-button {
    width: 90px;
    padding: 5px;
    font-weight: 600;
}
input.ticket-submit-btn {
    background-color: rgb(255, 136, 7);
    color:#ffffff!important;
    border-radius: 4px;
    border: 0px; 
    font-weight: 600;
}
input.ticket-submit-btn:hover {
    border: none;
    background-color: rgb(2, 102, 14);
}
.photo-preview {
    cursor:pointer; 
    width:50px; 
    height:50px; 
    object-fit:cover; 
    border:1px solid #ccc; 
    border-radius:8px;
}
@media screen and (max-width: 480px) {
    .ticket-card{
        border: 0;
        padding: 20px;
        max-width: unset;
    }
    .order-search-row {
        width: 100%;
    }
    .order-search-form {
        display: flex;
        justify-content: start;
        padding: 20px;
        width: 100%;
        background-color: rgb(0, 64, 14);
        color: #ffffff;
    }
    .order-id-input{
        width: 200px;
    }
    .order-search-btn {
        right: 10px;
    }
    header {
        display: none;
    }
    .order-label {
        padding: 0px 30px 0px 20px;
    }
}