body
{
    margin:0;
    padding:0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

*
{
    box-sizing: border-box;
}

/*header */

.header
{
    padding: 4px;
}

.header .top
{
    border-bottom: 1px solid rgb(0, 119, 255);
}

.header .top p
{
    font-size: 12px;
}

.header .grid
{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header .grid .col
{

}

.header .grid .col img
{
    width: 120px;
}

.header .grid .col .not-mes-pro
{
    display: flex;
}

.header .grid .col .not
{
    margin:0 10px;
    position: relative;
    cursor: pointer;
}

.header .grid .col .not .number
{
    position: absolute;
    top:-5px;
    right:-3px;
    background-color: rgb(0, 102, 255);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header .grid .col .not .number p
{
    color:white;
    font-weight: bold;
    font-size: 14px;
}

.header .grid .col .not img
{
    width: 30px;
    transition: 0.5s;
}

.header .grid .col .mes
{
    margin:0 10px;
    position: relative;
    cursor: pointer;
}

.header .grid .col .mes .number
{
    position: absolute;
    top:-9px;
    right:-7px;
    background-color: rgb(0, 102, 255);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header .grid .col .mes .number p
{
    color:white;
    font-weight: bold;
    font-size: 14px;
}

.header .grid .col .mes img
{
    width: 30px;
    transition: 0.5s;
}

.header .grid .col .pro
{
    margin:0 10px;
    cursor: pointer;
    position: relative;
}

.header .grid .col .pro img
{
    width: 30px;
    transition: 0.5s;
}

.header .grid .col .pro .box
{
    position: absolute;
    top:30px;
    left:-290px;
    width:300px;
    height: auto;
    background-color: white;
    border-radius: 8px;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    padding:10px;
    visibility: hidden;
    opacity: 0;
    transition: 0.5s;
    z-index: 1000;
}

.header .grid .col .pro .box.openbox
{
    visibility: visible;
    opacity: 1;
    transition: 0.5s;
}


.header .grid .col .pro .box .title
{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header .grid .col .pro .box .title h2
{
    font-size: 16px;
}

.header .grid .col .pro .box .title #closebox
{
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    position: relative;
    top:-2px;
    right:3px;
}

.header .grid .col .pro .box .box-menu
{
    padding: 10px;
    display: flex;
    flex-direction: column;
}

.header .grid .col .pro .box .box-menu a
{
    padding:10px;
    margin:7px 0;
    color:black;
    text-decoration: none;
    transition: 0.5s;
}

.header .grid .col .pro .box .box-menu a:hover
{
    padding:10px;
    margin:7px 0;
    color:rgb(55, 55, 55);
    text-decoration: none;
    transition: 0.5s;
}

.header .menu
{
    display: flex;
    justify-content: center;
    align-items: center;
}

.header .menu a
{
    font-weight: bold;
    margin:0px 10px;
    padding: 5px;
    text-decoration: none;
    color:black;
    transition: 0.5s;
}

.header .menu #closesidebar
{
    display: none;
}

.header .menu a:hover
{
    text-decoration: underline;
}

/*search */

/* Search Section */
.search {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
    margin: 0px 120px;
    transition: 0.5s;
    background-image: url(../assets/icons/wallpaper2.png);
    background-position: center;
    background-size: cover;
    height: 500px;
}

.search .title {
    text-align: center;
}

.search .title h2 {
    font-size: 40px;
    transition: 0.5s;
}

.search .description {
    margin: 0px 120px 40px 120px;
    border-bottom: 1px solid silver;
    border-top: 1px solid silver;
    transition: 0.5s;
}

.search .description p {
    font-style: italic;
    transition: 0.5s;
}

/* Search Form */
.search .form {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.search .form form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.search .form form select,
.search .form form input[type=search] {
    outline: none;
    padding: 15px 20px;
    width: 250px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-shadow: 1px 2px 8px rgba(0,0,0,0.2);
    font-size: 16px;
    transition: 0.3s;
}

.search .form form select:focus,
.search .form form input[type=search]:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0,123,255,0.5);
}

.search .form form button {
    background-color: white;
    color: white;
    outline: none;
    border: none;
    border-radius: 6px;
    padding: 15px 20px;
    cursor: pointer;
    transition: 0.3s;
    height: 49px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search .form form button img {
    width: 20px;
    height: 20px;

}

.search .form form button:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}


/* review */

.review
{
    
}

.review h2
{
    
}

.review .grid-33
{
    display: grid;
    grid-template-columns: 33.33% 33.33% 33.33%;
    padding:20px 200px;
    transition: 1s;
}

.review .grid-33 .column
{
    border-radius: 8px;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    padding:12px;
    margin:10px;
}

.review .grid-33 .column .user
{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.review .grid-33 .column .user img
{
    width: 100px;
}

.review .grid-33 .column .user p
{
    font-weight: bold;
}

.review .grid-33 .column .eidikotita
{
    border-top: 1px solid silver;
    border-bottom: 1px solid silver;
}

.review .grid-33 .column .eidikotita p
{
    font-size: 14px;
}

.review .grid-33 .column .stars
{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;
    margin-bottom: 10px;
}

.review .grid-33 .column .stars .flex
{
    display: flex;
}

.review .grid-33 .column .stars .flex .col
{
    box-shadow: 0 0 0 transparent;
    display: flex;
    align-items: center;
    justify-content: flex;

}

.review .grid-33 .column .stars .flex .col .reviews
{
    
}

.review .grid-33 .column .stars .flex .col .reviews img
{
    width: 20px;
}

.review .grid-33 .column .stars .flex .col .reviews .number
{
    
}

.review .grid-33 .column .stars .flex .col .reviews .number p
{
    
}

.review .grid-33 .column .view-user
{
    display: flex;
    justify-content: center;
    align-items: center;
}

.review .grid-33 .column .view-user button
{
    background-color: rgb(0, 60, 255);
    padding:12px;
    display: flex;
    border:none;
    border-radius: 4px;
    transition: 0.5s;
}

.review .grid-33 .column .view-user button a
{
    text-decoration: none;
    color:white;
}


.review .grid-33 .column .view-user button:hover
{
    transition: 0.5s;
    opacity: 0.5;
}

.review .viewmorew-users
{
    display: flex;
    justify-content: center;
    align-items: center;
}

.review .viewmorew-users button
{
    padding:10px;
    border:none;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    margin:10px 0;
    cursor: pointer;
    transition: 0.3s;
}

.review .viewmorew-users button:hover
{
    transition: 0.3s;
    opacity: 0.7;
}


/* about us */

.aboutus
{
    display: grid;
    grid-template-columns: 33.33% 33.33% 33.33%;
    padding: 20px 270px;
    transition: 0.5s;
    background-image: url(../assets/icons/wallpaper1.jpg);
    background-position: center;
    background-size: cover;
    height: 500px;
    justify-content: center;
    align-items: center;
}

.aboutus .col
{
    margin:10px;
    border-radius: 12px;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    background-color: white;
    height: 300px;
}

.aboutus .col .title
{
    text-align: center;
}

.aboutus .col .title h3
{
    font-weight: 100;
    letter-spacing: 3px;
}

.aboutus .col .image
{
    display: flex;
    justify-content: center;
    align-items: center;
}

.aboutus .col .image img
{   
    width: 100px;
}

.aboutus .col .description
{
    text-align: justify;
    padding: 10px;
}

.aboutus .col .description p
{
    
}

/* footer */

.footer
{
    
    display: grid;
    grid-template-columns: 33.33% 33.33% 33.33%;
    padding:20px 200px;
    transition: 0.5s;
}

.footer .col
{

}

.footer .col
{
    display: flex;
    flex-direction: column;
}

.footer .col h3
{
    font-weight: 600;
}

.footer .nav
{
    display: flex;
    flex-direction: column;
}

.footer .nav a
{
    color:black;
    text-decoration: none;
    padding:3px;
    margin:4px;
}

.footer .nav a:hover
{
    text-decoration: underline;
}

.footer .col .newsletter
{

}

.footer .col .newsletter form
{
    display: flex;
}

.footer .col .newsletter form input[type=email]
{
    flex:80%;
    padding:10px;
    outline: none;
    border: 1px solid silver;
    border-radius: 4px;
    margin-right: 10px;
}

.footer .col .newsletter form input[type=submit]
{
    flex:20%;
    background-color: black;
    color:white;
    border:none;
    border-radius: 4px;
    padding:10px;
    transition: 0.5s;
    cursor: pointer;
}

.footer .col .newsletter form input[type=submit]:hover
{
    transition: 0.5s;
    background-color: silver;
    color:black;
}

.footer-bottom
{
    background-color: rgba(10, 112, 255, 0.5);
    color:black;
    padding:3px;
    text-align: center;
}

/*topbutton */

button.top
{
    position: fixed;
    bottom:10px;
    right:10px;
    border:none;
    background-color: transparent;
    width: 60px;
    height: 60px;
    display: none;
}

button.top img
{
    width: 100%;
}

/* Γενικό Container */
.container-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 60px 20px;
    font-family: 'Arial', sans-serif;
}

/* Τίτλος φόρμας */
.container-form h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #0a70ff;
    text-align: center;
}

/* Φόρμα */
.container-form form {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 700px;
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

/* Labels */
.container-form form label {
    font-weight: 600;
    margin-top: 15px;
    margin-bottom: 5px;
    color: #333;
}

/* Inputs & Selects */
.container-form form input[type=text],
.container-form form input[type=email],
.container-form form input[type=password],
.container-form form input[type=number],
.container-form form select,
.container-form form textarea {
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    outline: none;
    transition: 0.3s;
    font-size: 16px;
}

.container-form form input:focus,
.container-form form select:focus,
.container-form form textarea:focus {
    border-color: #0a70ff;
    box-shadow: 0 0 5px rgba(10, 112, 255, 0.3);
}

/* Submit button */
.container-form form input[type=submit],
.container-form form button
{
    margin: 25px auto 0 auto;
    background-color: #0a70ff;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    padding: 12px;
    border-radius: 8px;
    font-size: 18px;
    width: 50%;
    transition: 0.3s;
}

.container-form form input[type=submit]:hover,
.container-form form button:hover
{
    background-color: #0056d6;
}

/* Textarea */
.container-form form textarea {
    height: 150px;
    resize: vertical;
}

/* Profile image container */
.container-form form .image {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

.container-form form .image img {
    width: 200px;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid #0a70ff;
}

/* Ειδικότητες (checkbox pills) */
.specialties-checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 5px;
}

.specialties-checkboxes label {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 15px;
    border: 1px solid #ccc;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.3s;
    user-select: none;
}

.specialties-checkboxes input[type=checkbox] {
    display: none; /* Κρύβουμε το πραγματικό checkbox */
}

/* Δημιουργούμε custom indicator */
.specialties-checkboxes label::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid #0070ff;
    border-radius: 50%;
    margin-right: 8px;
    transition: 0.3s;
}

/* Όταν είναι checked */
.specialties-checkboxes input[type=checkbox]:checked + span {
    background-color: #0070ff;
    color: white;
    border-radius: 20px;
    padding: 5px 10px;
}





 /* .container-description */

    .container-description
    {
        margin:90px;
        padding:20px 180px;
        transition: 0.5s;
    }

    .container-description h2
    {
        font-size: 24px;
        text-align: center;
    }

    .container-description p
    {
        padding:10px;
        text-align: justify;
        font-size: 20px;
        color:rgb(27, 27, 27);
    }



    /* container-sidromis */

    .container-sindromis
    {
        display: flex;
        flex-direction: column;
        padding:20px 270px;
        transition: 0.5s;
        margin:90px 0;
    }
    
    .container-sindromis h2
    {
        text-align: center;
    }

    .container-sindromis .grid
    {
        display: grid;
        grid-template-columns: 33.33% 33.33% 33.33%;
        transition: 0.5s;
    }

    .container-sindromis .grid .col
    {
        border-radius: 12px;
        box-shadow: 2px 2px 8px rgba(0,0,0,0.5);
        margin:20px;
        padding:20px;
        background-color: white;
        transition: 0.5s;
    }

    .container-sindromis .grid .col .packet
    {
        background-color: rgb(245, 245, 245);
        padding: 10px;
        border-radius: 12px;
    }

    .container-sindromis .grid .col:hover
    {
        transform: scale(1.1);
        transition: 0.5s;
    }

    .container-sindromis .grid .col .packet h3
    {
        text-align: center;
        font-size: 25px;
        color: rgb(47, 47, 47);
    }

    .container-sindromis .grid .col .packet .price
    {
        text-align: center;
    }

    .container-sindromis .grid .col .packet .price p
    {
        font-weight: bold;
        font-size: 24px;
    }

    .container-sindromis .grid .col .packet .duration
    {
        text-align: center;
    }

    .container-sindromis .grid .col .packet .duration p
    {
        font-size: 20px;
        letter-spacing: 3px;
    }

    .container-sindromis .grid .col .packet .buy
    {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .container-sindromis .grid .col .packet .buy button
    {
        padding:10px;
        background-color: rgb(20, 94, 178);
        color:white;
        border:none;
        font-size: 28px;
        border-radius: 12px;
        cursor: pointer;
    }

    .admin-orders-page {
    padding: 20px;
    font-family: Arial, sans-serif;
    }

    .admin-orders-page .aop-title {
        text-align: center;
        margin-bottom: 20px;
    }

    .admin-orders-page .aop-stats {
        display: flex;
        gap: 15px;
        flex-wrap: wrap;
        margin-bottom: 15px;
    }

    .admin-orders-page .aop-stat {
        background-color: #eee;
        padding: 5px 10px;
        border-radius: 5px;
    }

    .admin-orders-page .aop-filter {
        margin-bottom: 20px;
    }

    .admin-orders-page .aop-table-wrapper {
        overflow-x: auto;
    }

    .admin-orders-page .aop-table {
        width: 100%;
        border-collapse: collapse;
    }

    .admin-orders-page .aop-table th,
    .admin-orders-page .aop-table td {
        padding: 10px;
        text-align: left;
        border: 1px solid #ddd;
    }

    .admin-orders-page .aop-table tr.aop-active { background-color: #28a745; color: #fff; }
    .admin-orders-page .aop-table tr.aop-pending { background-color: #fd7e14; color: #fff; }
    .admin-orders-page .aop-table tr.aop-canceled { background-color: #dc3545; color: #fff; }
    .admin-orders-page .aop-table tr.aop-expired { background-color: #ffc107; color: #000; }

    .admin-orders-page .aop-actions a,
    .admin-orders-page .aop-actions select {
        margin-right: 5px;
    }

    .admin-orders-page .aop-btn-view {
        padding: 5px 10px;
        background-color: #007bff;
        color: #fff;
        border-radius: 3px;
        text-decoration: none;
    }

    .admin-orders-page .aop-btn-view:hover {
        background-color: #0056b3;
    }

    .admin-orders-page .aop-pagination {
        margin-top: 20px;
        display: flex;
        gap: 5px;
        flex-wrap: wrap;
    }

    .admin-orders-page .aop-pagination a {
        padding: 5px 10px;
        border: 1px solid #007bff;
        border-radius: 3px;
        text-decoration: none;
        color: #007bff;
    }

    .admin-orders-page .aop-pagination a.active,
    .admin-orders-page .aop-pagination a:hover {
        background-color: #007bff;
        color: #fff;
    }

    .admin-orders-page .aop-user-link {
    color: #007bff;
    text-decoration: none;
    }

    .admin-orders-page .aop-user-link:hover {
        text-decoration: underline;
    }


    .manage-users-page {
    padding: 20px;
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    }

    .manage-users-page .mup-title {
        font-size: 28px;
        margin-bottom: 15px;
        color: #333;
    }

    .manage-users-page .mup-subtitle {
        font-size: 20px;
        margin: 20px 0 10px 0;
        color: #555;
    }

    .manage-users-page .mup-stats {
        display: flex;
        gap: 20px;
        margin-bottom: 20px;
    }

    .manage-users-page .mup-stat {
        padding: 10px 15px;
        border-radius: 5px;
        font-weight: bold;
        color: white;
    }

    .manage-users-page .mup-professional {
        background-color: #17a2b8; /* μπλε για επαγγελματίες */
    }

    .manage-users-page .mup-customer {
        background-color: #28a745; /* πράσινο για πελάτες */
    }

    .manage-users-page .mup-table-wrapper {
        overflow-x: auto;
    }

    .manage-users-page .mup-table {
        width: 100%;
        border-collapse: collapse;
        background-color: white;
    }

    .manage-users-page .mup-table th, 
    .manage-users-page .mup-table td {
        border: 1px solid #ddd;
        padding: 10px;
        text-align: left;
    }

    .manage-users-page .mup-table th {
        background-color: #007bff;
        color: white;
    }

    .manage-users-page .mup-table tr:nth-child(even) {
        background-color: #f2f2f2;
    }

    .manage-users-page .mup-row-epaggelmatias td {
        background-color: #e0f7fa;
    }

    .manage-users-page .mup-row-customer td {
        background-color: #e8f5e9;
    }

    .manage-users-page .mup-user-link {
        color: #007bff;
        text-decoration: none;
    }

    .manage-users-page .mup-user-link:hover {
        text-decoration: underline;
    }


    .mup-pagination {
    margin-top: 20px;
    text-align: center;
    }

    .mup-pagination a {
        display: inline-block;
        margin: 0 5px;
        padding: 8px 12px;
        border: 1px solid #007bff;
        border-radius: 4px;
        text-decoration: none;
        color: #007bff;
    }

    .mup-pagination a.active {
        background-color: #007bff;
        color: white;
    }

    .mup-pagination a:hover {
        background-color: #0056b3;
        color: white;
    }

    .manage-sindromes-page {
    max-width: 1000px;
    margin: 30px auto;
    padding: 20px;
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    }

    .msp-title {
        text-align: center;
        margin-bottom: 25px;
        color: #333;
    }

    .msp-add-form {
        margin-bottom: 30px;
    }

    .msp-form input[type="text"],
    .msp-form input[type="number"] {
        padding: 10px;
        margin-right: 10px;
        margin-bottom: 10px;
        border-radius: 5px;
        border: 1px solid #ccc;
    }

    .msp-form button {
        padding: 10px 20px;
        border: none;
        background-color: #007bff;
        color: white;
        border-radius: 5px;
        cursor: pointer;
    }

    .msp-form button:hover {
        background-color: #0056b3;
    }

    .msp-table-wrapper {
        overflow-x: auto;
    }

    .msp-table {
        width: 100%;
        border-collapse: collapse;
    }

    .msp-table th,
    .msp-table td {
        border: 1px solid #ddd;
        padding: 10px;
        text-align: center;
    }

    .msp-table th {
        background-color: #007bff;
        color: white;
    }

    .msp-table tr:nth-child(even) {
        background-color: #f2f2f2;
    }

    .msp-delete-btn {
        color: #fff;
        background-color: #dc3545;
        padding: 5px 10px;
        border-radius: 5px;
        text-decoration: none;
    }

    .msp-delete-btn:hover {
        background-color: #a71d2a;
    }

    /* Manage Συνδρομών */
.manage-sindromes-page, .edit-sindrome-page {
    max-width: 900px;
    margin: 30px auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 0 12px rgba(0,0,0,0.1);
    font-family: Arial, sans-serif;
}

.msp-title, .esp-title {
    text-align: center;
    color: #333;
    margin-bottom: 25px;
}

/* Προσθήκη Συνδρομής */
.msp-add-form, .esp-form {
    margin-bottom: 30px;
}

    .msp-form input[type="text"],
    .msp-form input[type="number"],
    .esp-form input[type="text"],
    .esp-form input[type="number"] {
        padding: 10px;
        margin-right: 10px;
        margin-bottom: 10px;
        border-radius: 5px;
        border: 1px solid #ccc;
    }

    .msp-form button, .esp-form button {
        padding: 10px 20px;
        border: none;
        background-color: #007bff;
        color: white;
        border-radius: 5px;
        cursor: pointer;
    }

    .msp-form button:hover, .esp-form button:hover {
        background-color: #0056b3;
    }

    /* Πίνακας Συνδρομών */
    .msp-table-wrapper {
        overflow-x: auto;
    }

    .msp-table {
        width: 100%;
        border-collapse: collapse;
    }

    .msp-table th, .msp-table td {
        border: 1px solid #ddd;
        padding: 10px;
        text-align: center;
    }

    .msp-table th {
        background-color: #007bff;
        color: white;
    }

    .msp-table tr:nth-child(even) {
        background-color: #f2f2f2;
    }

    .msp-edit-btn {
        color: #fff;
        background-color: #28a745;
        padding: 5px 10px;
        border-radius: 5px;
        text-decoration: none;
    }

    .msp-edit-btn:hover {
        background-color: #1e7e34;
    }

    /* Επεξεργασία Συνδρομής */
    .esp-form label {
        display: block;
        margin-top: 10px;
        margin-bottom: 5px;
        font-weight: bold;
    }

    .esp-cancel-btn {
        display: inline-block;
        margin-top: 10px;
        padding: 8px 15px;
        background-color: #6c757d;
        color: white;
        border-radius: 5px;
        text-decoration: none;
    }

    .esp-cancel-btn:hover {
        background-color: #5a6268;
    }


    /* Container */
    .container-sindromis {
        max-width: 1000px;
        margin: 30px auto;
        padding: 20px;
        font-family: Arial, sans-serif;
    }

    .container-sindromis h2 {
        text-align: center;
        color: #333;
        margin-bottom: 25px;
    }

    /* Στοιχεία ενεργού πακέτου */
    .container-sindromis p {
        text-align: center;
        font-size: 16px;
        margin-bottom: 15px;
    }

    /* Grid για πακέτα */
    .grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

    /* Κάρτα πακέτου */
    .packet {
        background-color: #f9f9f9;
        border-radius: 10px;
        padding: 20px;
        box-shadow: 0 0 12px rgba(0,0,0,0.1);
        text-align: center;
        transition: transform 0.2s, box-shadow 0.2s;
    }

    .packet:hover {
        transform: translateY(-5px);
        box-shadow: 0 0 20px rgba(0,0,0,0.15);
    }

    .packet h3 {
        color: #007bff;
        margin-bottom: 10px;
    }

    .packet p {
        margin: 8px 0;
        font-size: 15px;
    }

    /* Κουμπιά αγοράς / ανανέωσης */
    .packet button {
        margin-top: 15px;
        padding: 10px 20px;
        border: none;
        border-radius: 5px;
        background-color: #28a745;
        color: #fff;
        font-size: 14px;
        cursor: pointer;
        transition: background-color 0.2s;
    }

    .packet button:hover {
        background-color: #218838;
    }

    /* Μήνυμα μη διαθέσιμης αγοράς */
    .packet p.gray-msg {
        color: gray;
        font-style: italic;
        font-size: 14px;
    }


/* Κοινό στυλ για container */
.container-orders {
    max-width: 1000px;
    margin: 30px auto;
    padding: 20px;
    font-family: Arial, sans-serif;
}

.container-orders h2 {
    text-align: center;
    color: #333;
    margin-bottom: 25px;
}

/* Μήνυμα αν δεν υπάρχουν παραγγελίες */
.container-orders p {
    text-align: center;
    font-size: 16px;
    color: #666;
}

/* Desktop Table */
.orders-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 14px;
}

.orders-table th,
.orders-table td {
    padding: 12px 15px;
    text-align: center;
    border-bottom: 1px solid #ddd;
}

.orders-table th {
    background-color: #007bff;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
}

.orders-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.orders-table tbody tr:hover {
    background-color: #f1f1f1;
}

/* Κατάσταση παραγγελίας με χρώματα */
.status-ενεργό-πακέτο {
    color: #28a745;
    font-weight: bold;
}

.status-σε-αναμονή {
    color: #ffc107;
    font-weight: bold;
}

.status-ακυρωμένο-πακέτο {
    color: #dc3545;
    font-weight: bold;
}

.status-λήξη-συνδρομής {
    color: #6c757d;
    font-weight: bold;
}

/* Σύνδεσμος προβολής λεπτομερειών */
.orders-table a,
.btn-view {
    text-decoration: none;
    color: #007bff;
    font-weight: bold;
    transition: color 0.2s;
}

.orders-table a:hover,
.btn-view:hover {
    color: #0056b3;
}

/* Mobile Cards */
.orders-cards {
    display: none; /* Αρχικά κρυφά για desktop */
}

.orders-cards .card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    background-color: #fff;
}

.orders-cards .card h4 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 16px;
    color: #007bff;
}

.orders-cards .card p {
    margin: 5px 0;
    font-size: 14px;
}

.orders-cards .btn-view {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 12px;
    background-color: #007bff;
    color: #fff;
    border-radius: 4px;
    text-align: center;
    font-size: 14px;
}

/* Container */
.container-order-details {
    max-width: 800px;
    margin: 30px auto;
    padding: 20px;
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.container-order-details h2 {
    text-align: center;
    color: #007bff;
    margin-bottom: 20px;
}

.container-order-details p {
    font-size: 15px;
    margin: 8px 0;
    color: #333;
}

.container-order-details h3 {
    margin-top: 20px;
    color: #555;
    border-bottom: 2px solid #007bff;
    padding-bottom: 5px;
    font-size: 16px;
}

.container-order-details ul {
    list-style: none;
    padding-left: 0;
}

.container-order-details ul li {
    background-color: #fff;
    margin-bottom: 8px;
    padding: 10px;
    border-left: 4px solid #007bff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* Πληρωμή */
.container-order-details p.payment-info {
    font-weight: bold;
    color: #28a745;
}

/* Container */
.container-payment {
    max-width: 500px;
    margin: 30px auto;
    padding: 25px;
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.container-payment h2 {
    text-align: center;
    color: #007bff;
    margin-bottom: 20px;
    font-size: 20px;
}

.container-payment p {
    font-size: 16px;
    color: #333;
    text-align: center;
    margin-bottom: 20px;
}

/* Φόρμα */
.container-payment form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.container-payment label {
    font-weight: bold;
    margin-bottom: 5px;
    color: #555;
}

.container-payment select {
    padding: 10px;
    font-size: 15px;
    border-radius: 6px;
    border: 1px solid #ccc;
    outline: none;
    transition: border-color 0.2s;
}

.container-payment select:focus {
    border-color: #007bff;
}

.container-payment button {
    padding: 12px;
    font-size: 16px;
    background-color: #007bff;
    color: #fff;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.container-payment button:hover {
    background-color: #0056b3;
}


/* Container */
.container-payment-details {
    max-width: 600px;
    margin: 30px auto;
    padding: 25px;
    font-family: Arial, sans-serif;
    background-color: #fefefe;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.container-payment-details h2 {
    text-align: center;
    color: #007bff;
    margin-bottom: 20px;
    font-size: 20px;
}

.container-payment-details p {
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
}

.container-payment-details h3 {
    color: #007bff;
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 18px;
}

.container-payment-details ul {
    list-style: none;
    padding-left: 0;
}

.container-payment-details li {
    padding: 10px;
    background-color: #f9f9f9;
    margin-bottom: 8px;
    border-radius: 6px;
    font-size: 15px;
    color: #555;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}


/* Container */
.container-admin-order-details {
    max-width: 700px;
    margin: 30px auto;
    padding: 25px;
    font-family: Arial, sans-serif;
    background-color: #fefefe;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.container-admin-order-details h2 {
    text-align: center;
    color: #007bff;
    margin-bottom: 20px;
    font-size: 22px;
}

.container-admin-order-details p {
    font-size: 16px;
    color: #333;
    margin-bottom: 12px;
}

.container-admin-order-details h3 {
    color: #007bff;
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 18px;
}

.container-admin-order-details ul {
    list-style: none;
    padding-left: 0;
}

.container-admin-order-details li {
    padding: 10px;
    background-color: #f9f9f9;
    margin-bottom: 8px;
    border-radius: 6px;
    font-size: 15px;
    color: #555;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* Highlight payment info */
.container-admin-order-details h3 + p {
    font-weight: bold;
    color: #333;
}


/* Container */
.container-profile {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Τίτλος */
.container-profile h2 {
    text-align: center;
    margin-bottom: 20px;
}

/* Κεντρικό μέρος (εικόνα, ρόλος) */
.container-profile .center {
    text-align: center;
    margin-bottom: 20px;
}

.container-profile .center img {
    border-radius: 50%;
    border: 2px solid #ccc;
}

.container-profile .center p {
    font-weight: bold;
    margin-top: 10px;
}





.update-services {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background: #fafafa;
    border: 1px solid #ddd;
    border-radius: 10px;
}

.update-services h2,
.update-services h3 {
    margin-bottom: 15px;
    color: #333;
}

.update-services-form label {
    display: block;
    margin: 10px 0 5px;
    font-weight: bold;
}

.update-services-form input[type="text"],
.update-services-form input[type="number"],
.update-services-form textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #bbb;
    border-radius: 5px;
}

.update-services-form textarea {
    min-height: 80px;
}

.update-services-form .btn {
    margin-top: 15px;
    padding: 10px;
    background: #28a745;
    border: none;
    color: #fff;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
}

.update-services-form .btn:hover {
    background: #218838;
}

.update-services-list {
    list-style: none;
    padding: 0;
}

.update-services-list li {
    background: #fff;
    border: 1px solid #ddd;
    padding: 10px;
    margin-bottom: 8px;
    border-radius: 5px;
}

.update-services-list li strong {
    color: #007bff;
}

.update-services-list li .actions {
    margin-top: 5px;
}

.update-services-list li .actions a {
    color: red;
    font-size: 14px;
    text-decoration: none;
}

.update-services .required {
    color: red;
}

.reviews {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-bottom: 5px;
}

.star {
    color: gold;
    font-size: 18px;
    position: relative;
    display: inline-block;
}

.star.empty {
    color: #ccc;
}

.star.half {
    /* Κόβουμε το μισό αστέρι */
    color: #ccc; /* πίσω μέρος ανοιχτό */
}

.star.half::before {
    content: "\2605"; /* γεμάτο αστέρι */
    color: gold;       /* χρυσό μόνο το μισό */
    position: absolute;
    width: 50%;
    overflow: hidden;
    left: 0;
    top: 0;
}


.number {
    margin-left: 5px;
    font-size: 14px;
    color: #555;
}
.column {
    border: 1px solid #ddd;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 8px;
    background-color: #fff;
}
.view-user button {
    margin-top: 10px;
    background-color: #2a9df4;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
}
.view-user button a {
    color: white;
    text-decoration: none;
}

/* Κουμπί "Δείτε περισσότερους" */
#load-more {
    background: linear-gradient(90deg, #155b92, #155b92); /* Πράσινο gradient */
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 16px;
    margin:30px 0;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

#load-more:hover {
    background: linear-gradient(90deg, #2a9df4, #2a9df4);
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0,0,0,0.3);
}

#load-more:disabled {
    background: #ccc;
    color: #666;
    cursor: not-allowed;
    box-shadow: none;
}

/* Γενικό container */
.container-payment {
    max-width: 600px;
    margin: 40px auto;
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    font-family: Arial, sans-serif;
}

/* Τίτλος */
.container-payment h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #333;
    font-size: 24px;
}

/* Στυλ φόρμας */
.container-payment form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Ετικέτες */
.container-payment label {
    font-weight: bold;
    margin-bottom: 5px;
    color: #555;
}

/* Πεδία εισαγωγής */
.container-payment input[type="text"],
.container-payment select {
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    width: 100%;
    box-sizing: border-box;
    transition: border 0.2s;
}

.container-payment input[type="text"]:focus,
.container-payment select:focus {
    border-color: #007bff;
    outline: none;
}

/* Κουμπί υποβολής */
.container-payment button {
    padding: 12px;
    background-color: #007bff;
    color: #fff;
    font-size: 18px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
}

.container-payment button:hover {
    background-color: #0056b3;
}


/* Container για fill_user_details.php */
.container-user-details {
    max-width: 600px;
    margin: 50px auto;
    padding: 30px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}

/* Τίτλος φόρμας */
.container-user-details h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #007bff;
}

/* Φόρμες */
.container-user-details form {
    display: flex;
    flex-direction: column;
}

.container-user-details label {
    margin-top: 15px;
    margin-bottom: 5px;
    font-weight: bold;
}

.container-user-details input[type="text"] {
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 16px;
}

/* Κουμπί Υποβολής */
.container-user-details button {
    margin-top: 25px;
    padding: 12px;
    background-color: #28a745;
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.container-user-details button:hover {
    background-color: #218838;
}

/* Μηνύματα σφάλματος ή επιτυχίας */
.container-user-details .error-message,
.container-user-details .success-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 5px;
    font-weight: bold;
}

.container-user-details .error-message {
    background-color: #f8d7da;
    color: #721c24;
}

.container-user-details .success-message {
    background-color: #d4edda;
    color: #155724;
}

/* Γενικό container για όλη τη σελίδα */
.container-profile {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    color: #333;
}

/* Κεντρική στοίχιση προφίλ */
.profile-page.center {
    text-align: center;
    margin-bottom: 30px;
}

.profile-page.center img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
}

.profile-page.center p span {
    font-weight: bold;
}

/* Grid layout για όλες τις στήλες */
.profile-page.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

/* Κάθε στήλη */
.profile-page.col {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    box-sizing: border-box;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Τίτλοι */
.profile-page h2, .profile-page h3, .profile-page h4 {
    margin: 10px 0;
}

/* Στοιχεία χρήστη */
.profile-page.informations p {
    margin: 5px 0;
}

.profile-page.informations p span {
    font-weight: bold;
}

/* Κουμπιά */
.profile-page button {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 15px;
    border: none;
    background-color: #007bff;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.profile-page button:hover {
    background-color: #0056b3;
}

.profile-page button a {
    color: #fff;
    text-decoration: none;
}

/* Λίστες υπηρεσιών */
.profile-page ul {
    list-style: none;
    padding-left: 0;
}

.profile-page ul li {
    margin-bottom: 10px;
}

/* Σχόλια */
.profile-comments {
    grid-column: 1 / -1; /* Καταλαμβάνει όλο το πλάτος */
}

.comment-box, .reply-box {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 15px;
}

.replies {
    margin-top: 10px;
    padding-left: 20px;
    border-left: 3px solid #007bff;
}

.reply-form textarea, .profile-page.comment-form textarea,
.profile-page.comment-form select {
    width: 100%;
    padding: 8px;
    margin: 5px 0 10px 0;
    border-radius: 5px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    resize: vertical;
}

.reply-form button, .profile-page.comment-form button {
    background-color: #28a745;
}

.reply-form button:hover, .profile-page.comment-form button:hover {
    background-color: #1e7e34;
}



.comment-card {
    background-color: #fdfdfd;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    margin-bottom: 5px;
}

.comment-date {
    font-size: 0.85em;
    color: #777;
}

.comment-rating {
    color: #ffb400;
    margin-bottom: 10px;
}

.comment-body {
    font-size: 1em;
    line-height: 1.4em;
}

.replies {
    margin-top: 15px;
    padding-left: 20px;
    border-left: 3px solid #4CAF50;
}

.reply-card {
    background-color: #f0f8ff;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 10px;
}

.reply-header {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    font-size: 0.9em;
    margin-bottom: 5px;
}

.reply-date {
    font-size: 0.8em;
    color: #555;
}

.reply-body p {
    margin: 0;
}

.reply-form {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.reply-form textarea {
    padding: 8px;
    font-size: 14px;
    border-radius: 6px;
    border: 1px solid #ccc;
    resize: vertical;
}

.reply-form button {
    align-self: flex-end;
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 7px 15px;
    border-radius: 6px;
    cursor: pointer;
}

.reply-form button:hover {
    background-color: #45a049;
}

/* === Container κύριας σελίδας === */
.search-results {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: Arial, sans-serif;
}

/* === Φίλτρα Αναζήτησης === */
.filter-form {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap; /* για μικρές οθόνες */
}

.filter-form select {
    padding: 10px 15px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 16px;
    outline: none;
    min-width: 200px;
}

.filter-form button {
    padding: 10px 20px;
    border-radius: 5px;
    border: none;
    background-color: #4CAF50;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.filter-form button:hover {
    background-color: #45a049;
}

/* === Τίτλος αποτελεσμάτων === */
.search-results h2 {
    text-align: center;
    margin-bottom: 20px;
}

/* === Grid καρτών επαγγελματιών === */
.grid-33 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

/* === Κάρτα επαγγελματία === */
.column {
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.column:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.user img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
}

.eidikotita p {
    margin: 5px 0;
    font-size: 14px;
}

/* === Stars === */
.stars {
    margin: 10px 0;
}

.star {
    color: #FFD700; /* χρυσό */
    font-size: 18px;
    display: inline-block;
}

.star.empty {
    color: #ccc;
}

.star.half {
    position: relative;
}

.star.half::before {
    content: '\2605';
    position: absolute;
    width: 50%;
    overflow: hidden;
    color: #FFD700;
}

/* === Κουμπί Προβολής Προφίλ === */
.view-user button {
    margin-top: 10px;
    padding: 8px 15px;
    border: none;
    border-radius: 5px;
    background-color: #2196F3;
    color: white;
    cursor: pointer;
    transition: 0.3s;
}

.view-user button:hover {
    background-color: #1976D2;
}

.view-user a {
    color: white;
    text-decoration: none;
}

/* === Pagination === */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
    gap: 5px;
}

.pagination a {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 5px;
    border: 1px solid #ccc;
    text-decoration: none;
    color: #333;
    transition: 0.3s;
}

.pagination a:hover {
    background-color: #f0f0f0;
}

.pagination a.active {
    background-color: #2196F3;
    color: white;
    border: 1px solid #2196F3;
}

/* vresepaggelmatia.css */

/* Γενικό */
.vresepaggelmatia {
    padding: 40px 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f0f2f5;
}

.vresepaggelmatia h1 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
    color: #333;
}

/* Sections */
.sections h2 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 1.8rem;
    color: #555;
}

/* Items grid */
.items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

/* Κάρτες/κουμπιά για ειδικότητες & πόλεις */
.item {
    background: #fff;
    padding: 15px 25px;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    text-decoration: none;
    color: #333;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    min-width: 140px;
}

.item:hover {
    background: #4CAF50;
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}


.message-content .sender {
    font-weight: bold;
    margin-bottom: 2px;
}

.message-content .text {
    margin-bottom: 2px;
}

.message-content .time {
    font-size: 0.8rem;
    color: #555;
    align-self: flex-end;
}


.messages-container {
    max-width: 700px;
    margin: 30px auto;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 10px;
    border: 1px solid #ddd;
}

.messages-container h2 {
    text-align: center;
    margin-bottom: 20px;
}

.conversation-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.conversation-item {
    display: flex;
    align-items: center;
    padding: 10px;
    background: #fff;
    border-radius: 10px;
    text-decoration: none;
    color: #000;
    transition: background 0.2s;
    border: 1px solid #ccc;
}

.conversation-item:hover {
    background: #f1f1f1;
}

.conversation-item img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.conversation-info .username {
    font-weight: bold;
    font-size: 1.1rem;
}

/* Container συνομιλίας */
.chat-container {
    max-width: 750px;
    margin: 40px auto;
    padding: 20px;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Τίτλος συνομιλίας */
.chat-container h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

/* Chat box */
.chat-box {
    max-height: 500px;
    overflow-y: auto;
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    background: #f9f9f9;
    margin-bottom: 15px;
    scroll-behavior: smooth;
}

/* Μηνύματα */
.message {
    display: flex;
    margin-bottom: 12px;
    align-items: flex-start;
    transition: transform 0.2s ease;
}

.message.sent {
    justify-content: flex-end;
}

.message.received {
    justify-content: flex-start;
}

/* Εικόνες προφίλ */
.message img.avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    margin-right: 10px;
    cursor: pointer;
    border: 2px solid #ddd;
    transition: transform 0.2s, border 0.2s;
}

.message img.avatar:hover {
    transform: scale(1.1);
    border-color: #007bff;
}

/* Bubble περιεχομένου */
.message-content {
    max-width: 70%;
    padding: 12px 15px;
    border-radius: 15px;
    background: #e3f2fd;
    position: relative;
    word-wrap: break-word;
}

.message.sent .message-content {
    background: #c8e6c9;
}

/* Όνομα αποστολέα */
.sender {
    font-weight: 600;
    font-size: 0.95rem;
    display: block;
    margin-bottom: 3px;
}

/* Κείμενο μηνύματος */
.text {
    font-size: 0.92rem;
    color: #333;
}

/* Ώρα μηνύματος */
.time {
    font-size: 0.75rem;
    color: #888;
    display: block;
    text-align: right;
    margin-top: 5px;
}

/* Chat form */
.chat-form textarea {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
    resize: vertical;
    min-height: 60px;
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.chat-form button {
    padding: 10px 20px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.2s;
}

.chat-form button:hover {
    background: #0056b3;
}

/* Feedback button */
.feedback-form button {
    padding: 10px 20px;
    margin-right: 5px;
    margin-top:10px;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    cursor: pointer;
    background: #ffc107;
    color: #fff;
    transition: background 0.2s, transform 0.2s;
}

.feedback-form button:hover:not(:disabled) {
    background: #e0a800;
    transform: translateY(-2px);
}

.feedback-form button:disabled {
    background: #28a745;
    cursor: not-allowed;
}

/* messages.css */

.messages-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px 20px;
    font-family: Arial, sans-serif;
}

.messages-container h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.no-messages {
    text-align: center;
    color: #777;
    font-size: 16px;
}

.conversation-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.conversation-item {
    display: flex;
    align-items: center;
    background-color: #f8f8f8;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.conversation-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.conversation-item img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 2px solid #ccc;
}

.conversation-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.conversation-info .username {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.btn-view-profile,
.btn-view-chat {
    display: inline-block;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 5px;
    font-size: 14px;
    transition: background-color 0.2s, color 0.2s;
}

.btn-view-profile {
    background-color: #007bff;
    color: #fff;
    margin-right: 8px;
}

.btn-view-profile:hover {
    background-color: #0056b3;
    color: #fff;
}

.btn-view-chat {
    background-color: #28a745;
    color: #fff;
}

.btn-view-chat:hover {
    background-color: #1e7e34;
    color: #fff;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 25px;
    gap: 5px;
    flex-wrap: wrap;
}

.page-link {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 5px;
    background-color: #f1f1f1;
    color: #333;
    text-decoration: none;
    transition: background-color 0.2s;
}

.page-link:hover {
    background-color: #ddd;
}

.page-link.active {
    background-color: #007bff;
    color: #fff;
    font-weight: bold;
}


#cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #333;
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
    display: none; /* εμφανίζεται μόνο αν δεν έχει γίνει επιλογή */
    font-family: Arial, sans-serif;
    font-size: 14px;
    flex-wrap: wrap;
}

#cookie-consent span {
    flex: 1 1 auto;
    margin-right: 15px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

#cookie-consent button {
    border: none;
    padding: 8px 15px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 14px;
}

#accept-cookies {
    background: #4CAF50;
    color: white;
}

#accept-cookies:hover {
    background: #45a049;
}

#decline-cookies {
    background: #f44336;
    color: white;
}

#decline-cookies:hover {
    background: #da190b;
}

.error-container {
    text-align: center;
    padding: 100px 20px;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.error-container h1 {
    font-size: 8rem;
    margin: 0;
    color: #e74c3c;
}

.error-container h2 {
    font-size: 2rem;
    margin: 10px 0;
}

.error-container p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.btn-home {
    display: inline-block;
    padding: 10px 25px;
    background-color: #3498db;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.btn-home:hover {
    background-color: #2980b9;
}




/* Responsive */
@media (max-width: 600px) {
    .message-content {
        max-width: 85%;
    }
    .chat-container {
        padding: 15px;
    }
}



/* Responsive */
@media(max-width:768px){
    .items {
        flex-direction: column;
        align-items: center;
    }

    .item {
        width: 80%;
        padding: 15px 0;
        font-size: 1.1rem;
    }
}


/* === Responsive για κινητά === */
@media (max-width: 768px) {
    .filter-form {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .filter-form select,
    .filter-form button {
        width: 100%;
        margin: 20px auto;
        display: block;
    }
}



@media screen and (max-width:1640px) {


    
    .container-sindromis
    {
        display: flex;
        flex-direction: column;
        padding:20px 150px;
        transition: 0.5s;
    }

    .container-sindromis .grid
    {
        display: grid;
        grid-template-columns: 33.33% 33.33% 33.33%;
        transition: 0.5s;
    }
}

@media screen and (max-width:1300px) {
    
    .aboutus
    {
        display: grid;
        grid-template-columns: 33.33% 33.33% 33.33%;
        padding: 20px 100px;
        background-color: rgba(10, 112, 255, 0.5);
        transition: 0.5s;
    }




    .container-sindromis
    {
        display: flex;
        flex-direction: column;
        padding:20px 70px;
        transition: 0.5s;

    }

    .container-sindromis .grid
    {
        display: grid;
        grid-template-columns: 33.33% 33.33% 33.33%;
        transition: 0.5s;
    }
}

@media screen and (max-width: 1200px) {
    

      .container-sindromis
    {
        display: flex;
        flex-direction: column;
        padding:20px 20px;
        transition: 0.5s;

    }

    .container-sindromis .grid
    {
        display: grid;
        grid-template-columns: 33.33% 33.33% 33.33%;
        transition: 0.5s;
    }

}



@media screen and (max-width:1140px){

    .search .title h2
    {
        font-size: 25px;
        transition: 0.5s;
    }

    .search .description p
    {
        font-style: italic;
        transition: 0.5s;
        font-size: 12px;
    }

    .search .description
    {
        margin:0px 20px 40px 20px;
        border-bottom: 1px solid silver;
        border-top: 1px solid silver;
        transition: 0.5s;
    }

    .form form input[type=search]
    {
        outline: none;
        padding:10px;
        width: 250px;
        border: none;
        border-radius: 4px;
        box-shadow: 1px 2px 8px rgba(0,0,0,0.5);
        border-bottom: 1px solid silver;
        transition: 0.5s;
    }

    .form form
    {
        padding:4px;
    }

    .form form input[type=search]::placeholder
    {
        font-size:12px;
    }

    .form form button
    {
        background-color: white;
        outline: none;
        border: none;
        box-shadow: 1px 2px 8px rgba(0,0,0,0.5);
        border-radius: 4px;
        padding:10px;
        height: 35px;
        width: 40px;
        position: relative;
        top:3px;
        margin-left:3px;
        cursor: pointer;
        transition: 0.5s;
    }

    .search
    {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 4px;
        margin: 0px 10px;
        transition: 0.5s;
    }

    .review .grid-33
    {
        display: grid;
        grid-template-columns: 50% 50%;
        padding:20px 20px;
        transition: 1s;
    }

    .aboutus
    {
        display: grid;
        grid-template-columns: 33.33% 33.33% 33.33%;
        padding: 20px 10px;
        background-color: rgba(10, 112, 255, 0.5);
        transition: 0.5s;
    }


    .footer
    {
        
        display: grid;
        grid-template-columns: 33.33% 33.33% 33.33%;
        padding:20px 100px;
    }



    .container-description
    {
        margin:90px;
        padding:20px 80px;
        transition: 0.5s;
    }

    .container-sindromis
    {
        display: flex;
        flex-direction: column;
        padding:20px 270px;
        transition: 0.5s;

    }

    .container-sindromis .grid
    {
        display: grid;
        grid-template-columns: 100%;
        transition: 0.5s;
    }

}



/* Responsive */
@media (max-width: 900px) {
    .search .form form {
        flex-direction: column;
        align-items: center;
    }

    .search .form form select,
    .search .form form input[type=search] {
        width: 80%;
    }

    .search .form form button {
        width: 80%;
    }
}


@media screen and (max-width:900px) {
    
     .footer
    {
        display: grid;
        grid-template-columns: 33.33% 33.33% 33.33%;
        padding:20px 10px;
    }

    .footer .col h3
    {
        transition: 0.5s;
        font-size: 18px;
    }

    .footer .col .nav a
    {
        transition: 0.5s;
        font-size: 14px;
    }

    .footer .col form
    {
        display: flex;
        flex-direction: column;
    }

    .footer .col form input
    {
        width: 200px;
        margin:3px 0;
    }

    .container-description
    {
        margin:20px;
        padding:10px;
        transition: 0.5s;
    }


    .container-sindromis
    {
        display: flex;
        flex-direction: column;
        padding:20px 70px;
        transition: 0.5s;

    }

    .container-sindromis .grid
    {
        display: grid;
        grid-template-columns: 100%;
        transition: 0.5s;
    }

    
}


    @media (max-width: 768px) {
        .admin-orders-page .aop-table th,
        .admin-orders-page .aop-table td {
            padding: 8px;
            font-size: 14px;
        }
        .admin-orders-page .aop-stats {
            flex-direction: column;
            gap: 10px;
        }
    }

    /* Mobile Responsive */
@media screen and (max-width: 768px) {
    .orders-table {
        display: none; /* Κρύβουμε πίνακα σε κινητό */
    }

    .orders-cards {
        display: block; /* Εμφανίζουμε κάρτες σε κινητό */
    }
}


/* Mobile Responsive */
@media screen and (max-width: 768px) {
    .container-order-details {
        padding: 15px;
        margin: 15px;
    }

    .container-order-details h2 {
        font-size: 18px;
    }

    .container-order-details h3 {
        font-size: 16px;
    }

    .container-order-details p,
    .container-order-details ul li {
        font-size: 14px;
        padding: 8px;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .container-form form {
        width: 95%;
        padding: 20px;
    }

    .container-form form input[type=submit] {
        width: 70%;
    }
}


/* Responsive adjustments */
@media (max-width: 768px) {
    .profile-page.grid {
        grid-template-columns: 1fr;
    }
}






@media screen and (max-width:600px) {

     .review .grid-33
    {
        display: grid;
        grid-template-columns: 100%;
        padding:20px 20px;
        transition: 1s;
    }

    .footer .col form input
    {
        width: 100%;
        margin:3px 0;
    }

    .footer .col form input[type=submit]
    {
        display: block;
        margin:10px auto;
    }

    .header .menu a
    {
        font-weight: bold;
        margin:0px 10px;
        padding: 5px;
        text-decoration: none;
        color:black;
        font-size: 14px;
        transition: 0.5s;
    }

    .form form input[type=search]
    {
        outline: none;
        padding:10px;
        width: 170px;
        border: none;
        border-radius: 4px;
        box-shadow: 1px 2px 8px rgba(0,0,0,0.5);
        border-bottom: 1px solid silver;
        transition: 0.5s;
    }

    .aboutus
    {
        display: grid;
        grid-template-columns: 100%;
        padding: 40px 50px;
        background-color: rgba(10, 112, 255, 0.5);
        transition: 0.5s;
        overflow: auto;
        height: 400px;
    }

    .aboutus::-webkit-scrollbar
    {
        width: 0;
    }

    .footer
    {
        
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding:20px;
    }

    .footer .col
    {
        width: 100%;
    }
    
    .footer .col h3
    {
        font-size: 24px;
        border-bottom: 1px solid black;
    }
    .footer .col .nav a
    {
        font-size: 20px;
    }

    .centerhamburger
    {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .hamburger
    {
        cursor: pointer;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .hamburger .line
    {
        background-color: black;
        width: 20px;
        height: 2px;
        margin:2px 0;
    }

    .modal
    {
        top:0;
        left:0;
        width: 100%;
        height: 100%;
        position: fixed;
        visibility: hidden;
        opacity: 0;
        transition: 0.5s;
        z-index: 1000;
    }

    .modal.openmodal
    {
        visibility: visible;
        opacity: 1;
        transition: 0.5s;
    }

    .header .menu
    {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        top:0;
        left:-250px;
        width: 250px;
        height: 100%;
        position: fixed;
        background-color: rgb(42, 121, 232);
        z-index: 1000;
        transition: 0.5s;
    }

    .header .menu.openmenu
    {
        left:0;
        transition: 0.5s;
    }

    .header .menu a
    {
        font-weight: bold;
        margin:20px 10px;
        padding: 5px;
        text-decoration: none;
        color:white;
        transition: 0.5s;
        font-size: 20px;
    }

    .header .menu #closesidebar
    {
        display: block;
        top:10px;
        right:10px;
        cursor: pointer;
        font-weight: 600;
        position: absolute;
        font-size: 34px;
        color:white;
    }


      .container-sindromis
    {
        display: flex;
        flex-direction: column;
        padding:20px 20px;
        transition: 0.5s;

    }

    .container-sindromis .grid
    {
        display: grid;
        grid-template-columns: 100%;
        transition: 0.5s;
    }

}

    /* Responsive για μικρές οθόνες */
    @media (max-width: 600px) {
        .grid {
            grid-template-columns: 1fr;
        }
    }


    /* Mobile Responsive */
@media screen and (max-width: 600px) {
    .container-payment {
        padding: 20px;
        margin: 15px;
    }

    .container-payment h2 {
        font-size: 18px;
    }

    .container-payment p {
        font-size: 15px;
    }

    .container-payment select,
    .container-payment button {
        font-size: 14px;
        padding: 10px;
    }
}


/* Responsive για κινητά */
@media screen and (max-width: 600px) {
    .container-payment-details {
        padding: 15px;
        margin: 15px;
    }

    .container-payment-details h2 {
        font-size: 18px;
    }

    .container-payment-details h3 {
        font-size: 16px;
    }

    .container-payment-details p,
    .container-payment-details li {
        font-size: 14px;
    }
}

/* Μικρές προσαρμογές για κινητά */
@media (max-width: 600px) {
    .container-payment {
        margin: 20px;
        padding: 20px;
    }

    .container-payment h2 {
        font-size: 20px;
    }

    .container-payment button {
        font-size: 16px;
        padding: 10px;
    }
}


/* Responsive για κινητά */
@media screen and (max-width: 480px) {
    .container-admin-order-details {
        padding: 15px;
        margin: 15px;
    }

    .container-admin-order-details h2 {
        font-size: 20px;
    }

    .container-admin-order-details h3 {
        font-size: 16px;
    }

    .container-admin-order-details p,
    .container-admin-order-details li {
        font-size: 14px;
    }
}
