
.accordionOrders{
    width: 100%;
    color: unset;
    background-color: unset;
    border-style: solid;
    border-color: #f3f3f3;
    align-content: center;
    border-width: 1px;
}

.accordionOrders:focus{
    outline-color:#dedede !important;
    border-bottom: 5px solid #a9a9a9;
}

.accordionOrders:active{
    border-bottom: 5px solid #a9a9a9;
}

/* Create two unequal columns that floats next to each other */
input.search[type=search] {
    width: 100%;
    height: 40px;
    box-sizing: border-box;
    font-size: 15px;
    background-color: #ffffff;
    background-image: url("../img/projectsImage/searchIcon.png");
    background-position: 10px 8px;
    background-repeat: no-repeat;
    padding: 12px 20px 12px 40px;
    -webkit-transition: width 0.4s ease-in-out;
    transition: width 0.4s ease-in-out;
}
/* Left column */
.leftcolumn {   
    float: left;
    width: 25%;
    padding: 0 0 10px 0;
}
.medcolumn {
    float: left;
    padding-left: 20px;
}
/* Right column */
.rightcolumn {
    float: right;
    padding-left: 20px;
}
.rightcolumnLike{
    /*width: 80%;*/
    float: left;
    /*padding-left: 15px;*/
}
.accordionOrder{
    border-style: solid;
    border-width: 1px;
    border-color: #e2e2e3;
    border-radius: 5px;
    margin-top: 5px;
    background-color: white;
}
.accordionOrder:focus-visible{
    outline-color: white;
}
.accordionOrder:focus{
    outline-color: white;
}
.accordionOrder:hover{
    background-color: transparent ;
}
/* Fake image */
.fakeimg {
    background-color: #000;
    width: 100%;
    padding: 20px;
}

.clip-circle {
    clip-path: circle(50px at center);
    min-height: 100px;
    height: 100%;
    align-content: center;
}

.circleDash {
    clip-path: circle(50px at center);
    height: 100%;
    line-height: 4;
    font-size: 3vh;
    background-color: #439cbc;
    text-align: center;
    align-content: center;
    color: #ffffff
}
/* Add a card effect for articles */
#id_autocadFile {
    border: 1px solid #ced4da !important;
    height: 40px;
}

.card {
    FONT-VARIANT: JIS04;
    box-shadow: none;
    background-color: #ffffff;
    /*margin-top: 15px;*/
    margin-bottom: 0;
    border: 0;
}
.profileEditIcon {
    display: inline-block;
    float: left;
    padding-left: 25px!important;
    height: 40px;
    align-content: center;
    border-radius: 5px;
    text-align: left!important;
}
.profileEditIcon:hover {
    background-color: #429bbc;
    color: white;
    text-align: left!important;
}

.cardAvatarImage{
    float: left;
    background: none;
    width: 100px;
    height: 100px;
}

.profileAboutText{
    overflow: hidden;
    background: none;
}

.VerificationsCheck {
    float: right;
}

.open-button {
  background-color: #555;
  color: white;
  padding: 16px 20px;
  border: none;
  cursor: pointer;
  opacity: 0.8;
  /*position: fixed;*/
  bottom: 23px;
  right: 28px;
  width: 100%;
}

/* The popup form - hidden by default */
.form-popup {
    display: none;
    /*position: fixed;*/
    width: 100%;
    bottom: 100px;
    left: 15px;
    border: 3px solid #f1f1f1;
    z-index: 9;
}

/* Add styles to the form container */
.form-container {
  max-width: 300px;
  padding: 10px;
  background-color: white;
}

/* Full-width input fields */
.form-container input[type=text], .form-container input[type=password] {
  width: 100%;
  padding: 15px;
  margin: 5px 0 22px 0;
  border: none;
  background: #f1f1f1;
}

/* When the inputs get focus, do something */
.form-container input[type=text]:focus, .form-container input[type=password]:focus {
  background-color: #ddd;
  outline: none;
}

/* Set a style for the submit/login button */
.form-container .btn {
  background-color: #04AA6D;
  color: white;
  padding: 16px 20px;
  border: none;
  cursor: pointer;
  width: 100%;
  margin-bottom:10px;
  opacity: 0.8;
}

/* Add a red background color to the cancel button */
.form-container .cancel {
  background-color: red;
}

/* Add some hover effects to buttons */
.form-container .btn:hover, .open-button:hover {
  opacity: 1;
}

#ProductImage{
    width: 100%;
    height: 170px!important;
    min-height: 170px;
    object-fit: contain;
    /*mask: url(../img/mask/productM.svg);*/
    -webkit-mask: url(../img/mask/productP.svg);
    -webkit-mask-position-y: -125px;
    -webkit-mask-repeat: no-repeat;
}

/* Clear floats after the columns */
.row:after {
    content: "";
    display: table;
    clear: both;
}


/* ============================================
   DESKTOP ONLY (Above 767px)
   Keep original layout
   ============================================ */
@media (min-width: 768px) {
    .leftcolumn {
        float: left;
        width: 25%;
        padding: 0 0 10px 0;
    }
    
    .medcolumn {
        float: left;
        padding-left: 20px;
    }
    
    .rightcolumn {
        float: right;
        padding-left: 20px;
    }
}

/* ============================================
   MOBILE ONLY (Below 767px)
   Expandable Menu Above Content
   ============================================ */
@media (max-width: 767px) {
    /* Container for menu */
    .leftcolumn {
        position: sticky;
        top: 60px;
        width: 100% !important;
        float: none !important;
        padding: 0 !important;
        margin-bottom: 10px !important;
        order: -1;
        background: #fff;
        border-radius: 8px;
        z-index: 100;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
    
    /* Welcome card container */
    .leftcolumn > .card:first-child {
        display: block !important;
        padding: 0 !important;
        margin-bottom: 0 !important;
        background: transparent !important;
    }
    
    /* Hide Welcome title and SVG */
    .leftcolumn > .card:first-child > h3,
    .leftcolumn > .card:first-child > svg {
        display: none !important;
    }
    .arrow {
        border: none;
    }
    
    /* Toggle button - always at top */
    .menu-toggle {
        width: 100%;
        padding-left: 15px;
        background: #439cbc;
        color: white;
        border: none;
        border-radius: 8px 8px 0 0;
        font-size: 16px;
        font-weight: bold;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin: 0;
        position: relative;
    }
    
    .menu-toggle:hover {
        background: #357a94;
    }
    
    .menu-toggle .arrow {
        transition: transform 0.3s ease;
        font-size: 20px;
    }
    
    .leftcolumn.menu-expanded .menu-toggle {
        border-radius: 8px 8px 0 0;
    }
    
    .leftcolumn.menu-expanded .menu-toggle .arrow {
        transform: rotate(180deg);
    }
    
    /* Expandable content container */
    .leftcolumn .menu-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        background: #fff;
        border-radius: 0 0 8px 8px;
    }
    
    .leftcolumn.menu-expanded .menu-content {
        max-height: 800px;
    }
    
    /* User info section */
    .leftcolumn .row1 {
        padding: 15px !important;
        border-bottom: 1px solid #e8e8e8;
    }
    
    /* Menu container */
    .leftcolumn .table {
        padding: 10px !important;
        background: #f9f9f9;
        margin: 0 !important;
    }
    
    /* Main content - full width */
    .medcolumn,
    .rightcolumn {
        width: 100% !important;
        float: none !important;
        padding: 10px !important;
        margin: 0 !important;
    }
    
    /* Settings section for mobile */
    .mobile-settings-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 15px;
        background: #f9f9f9;
        border-radius: 8px;
        margin-bottom: 10px;
    }
    
    .mobile-settings-header h3 {
        margin: 0 !important;
        font-size: 1.2em;
    }
    
    .settings-toggle-btn {
        background: #439cbc;
        color: white;
        border: none;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        font-size: 18px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
    }
    
    .settings-toggle-btn:hover {
        background: #357a94;
        transform: scale(1.1);
    }
    
    .settings-toggle-btn.active {
        transform: rotate(90deg);
    }
    
    /* Settings Popup/Modal */
    .settings-popup-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        animation: fadeIn 0.3s ease;
    }
    
    .settings-popup-overlay.active {
        display: block;
    }
    
    .rightcolumn {
        display: none;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(0.7);
        width: 90%;
        max-width: 500px;
        max-height: 80vh;
        background: white;
        border-radius: 12px;
        box-shadow: 0 10px 40px rgba(0,0,0,0.3);
        z-index: 1000;
        overflow-y: auto;
        padding: 20px !important;
        opacity: 0;
        transition: all 0.3s ease;
    }
    
    .rightcolumn.settings-expanded {
        display: block;
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    
    /* Close button for popup */
    .settings-close-btn {
        position: absolute;
        top: 10px;
        right: 10px;
        background: #dc3545;
        color: white;
        border: none;
        border-radius: 50%;
        width: 35px;
        height: 35px;
        font-size: 20px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1001;
    }
    
    .settings-close-btn:hover {
        background: #c82333;
    }
    
    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }
    
    /* Menu items styling */
    .leftcolumn .profileEditIcon {
        width: 100% !important;
        margin: 5px 0 !important;
        padding: 12px 15px !important;
        border-radius: 8px !important;
        display: block !important;
        float: none !important;
    }
    
    /* Cards full width */
    .card {
        width: 100% !important;
        margin: 10px 0 !important;
    }
    
    /* Reorder columns */
    .container > .row {
        display: flex;
        flex-direction: column;
    }
}

/* Responsive layout - when the screen is less than 400px wide, make the navigation links stack on top of each other instead of next to each other */
@media (max-width: 400px) {
    .topnav a {
        float: none;
        width:100%;
    }
}

.vertical-center {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.panel {
    border-radius: 6px;
    box-shadow: none;
    font-size: 1rem;
}
