
body{
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    padding: 0;
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
}
.group-details label, .group-details span, .group-details p{
    font-size: 13px;

}
.log-form-bg{
    display: flex;
    flex-direction: column;
    overflow: hidden;
    flex: 1;
    height: 100%;
    width: 100%;
    background-color: #ffde5987;
    align-items: center;
    justify-content: start;


}
.log-form-bg .header{
    width: 100%;
    background-color: #ccc;
    background-color: #ffde59;
    box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;

}
.header .header-texts{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 15px;
    align-items: center;

}
.header-texts h2{
    color: #333;
    font-weight: bold;
    margin: 0;
}
.header-texts p{
    margin: 0;
    font-size: 13px;
    color: #333;
}


.log-form-bg .form-container {
    width: 90%;
    background-color: transparent;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
    height: 100%;
}

.form-container form {
    background-color: transparent;
    /* flex: 1; */
    /* margin-top: 5px; */
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    height: 100%;
    padding: 25px;
    width: 90%;
    /* align-self: center; */
    /* justify-self: center; */
    /* display: flex; */
    /* flex-direction: column; */
}
.form-container form .step-section{
    gap: 5px;
    display: flex;

}
.step-section .step-title-info{
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 10px;

}
.step-section .step-title-info span{
    margin: 0;
}
.step-title-info .title{
    font-weight: bold;
    font-size: 14px;
}
.step-title-info .info{
    color: #666;
}
/* Signup progress */
.signup-progress{
    margin:0;
}
.signup-progress .steps {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-evenly;
    margin-bottom: 8px;
    overflow-x: auto;
    /* flex-wrap: nowrap; */
    padding-bottom: 6px;
    width: 100%;
    -webkit-overflow-scrolling: touch;
}
.step-indicator{
    display:flex;
    flex-direction:column;
    align-items:center;
    min-width:60px;
    text-align:center;
    color:#666;
    flex: 0 0 auto;
    cursor: pointer;
    transition: transform 180ms ease, color 180ms ease;
}
.step-indicator:hover{
    transform: translateY(-1px);
    color: #333;
}
.step-indicator.clickable:hover{
    transform: translateY(-2px);
}
.step-indicator.disabled{
    cursor: not-allowed;
    opacity: 0.45;
}
.step-indicator.disabled:hover{
    transform: none;
    color: #666;
}
.step-indicator.disabled span{
    background: #f7f7f7;
    border-color: #ddd;
    color: #999;
}
.step-indicator.clickable{cursor: pointer;}
.step-indicator span{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:34px;
    height:34px;
    border-radius:50%;
    background:#fff;
    border:2px solid #f0c27b;
    color:#333;
    font-weight:600;
}
.step-indicator.active span{ background:#f99029; color:#fff; border-color:#f99029; }
.step-indicator small{ display:block; font-size:11px; margin-top:6px; white-space:nowrap; }
.signup-progress .steps::-webkit-scrollbar{ height:6px; }
.signup-progress .steps::-webkit-scrollbar-thumb{ background:#eee; border-radius:3px; }

@media (max-width: 700px) {
    .signup-progress .steps { gap:10px; }
    .step-indicator { min-width:48px; }
    .step-indicator span { width:30px; height:30px; }
    .step-indicator small { font-size:10px; }
}
.progress-bar{ height:6px; background:#eee; border-radius:6px; overflow:hidden; }
.progress-fill{ height:100%; background:linear-gradient(90deg,#f99029,#f5912c); width:0%; transition:width 350ms ease; }
.step-section .group-details{
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-radius: 5px;
    padding: 5px;
    margin-top: 5px;
    background-color: #ffffff91;
    box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
}
.review-summary{
    background-color: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 12px;
    padding: 0;
    box-shadow: none;
}
.review-grid{
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
    padding: 18px;
    color: #333;
}
.group-name{
    font-weight: 600;
    color: #333;
}
.review-item{
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.review-item strong{
    font-size: 13px;
    color: #333;
}
.review-item span{
    color: #666;
    line-height: 1.6;
    font-size: 13px;
}
.review-grid .section-header{
    grid-column: 1 / -1;
    padding-top: 18px;
    display: grid;
    gap: 6px;
}
.review-grid .section-header strong{
    font-size: 14px;
}
.review-grid .section-header span{
    font-size: 13px;
    color: #666;
}
.review-confirmation{
    margin-top: 20px;
    background-color: #fffbf0;
    border-left: 4px solid #f99029;
    border-radius: 10px;
    padding: 16px;
}
.review-confirmation p:first-child{
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}
.review-confirmation p:last-child{
    margin: 0;
    color: #666;
    font-size: 13px;
    line-height: 1.6;
}
.review-actions{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin-top: 20px;
    background: transparent;
    box-shadow: none;
    padding: 15px
}
.review-actions .register-btn{
    width: auto;
    padding: 12px 30px;
    font-size: 14px;
    font-weight: 600;
}
.review-actions p{
    margin: 0;
    color: #666;
    font-size: 13px;
}
#subbmitAction{
    background-color: transparent;

}
@media (max-width: 700px) {
    .review-grid{
        grid-template-columns: 1fr;
    }
}
.group-details .group-name{
    font-size: 14px;

}
.group-name{
    margin-left: 10px;
}
/* Profile grid */
.profile-grid{
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 2 columns */
    gap: 5px;
    width: 100%;
}

.six-profile-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 5px;
    width: 100%;
}

@media (min-width: 900px) {
    .six-profile-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Each input block */
.profile-grid .input-forms,
.grid-group {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 3px;
}

.profile-grid input[type="text"],
.profile-grid input[type="file"],
.profile-grid input[type="date"],
.profile-grid input[type="number"],
.profile-grid input[type="time"],
.profile-grid input[type="email"],
.profile-grid input[type="password"],

.profile-grid select,
.grid-inputs-group input[type="text"],
.grid-inputs-group input[type="file"],
.input-forms textarea,
.grid-inputs-group select,
#special-instruc  {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    background-color: #ffff;
}

/* Checkbox row */
.use-default {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
}

.profile-grid input:focus,
.profile-grid select:focus,
.grid-inputs-group input:focus,
.grid-inputs-group select:focus,
#special-instruc:focus {
    outline: none;
    border-color: #ffde59;
    box-shadow: 0 0 2px rgba(74, 144, 226, 0.5);
}

.error-text {
    font-size: 12px;
    color: #D8000C;
    margin-top: 4px;
}
/* hide inline error texts until needed */
.error-text{ display: none; }

@media (max-width: 900px) {
    .profile-grid, .grid-inputs-group {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.input-forms label{
    margin: 0;
    margin-left: 10px;
    color: #666;

}
.input-forms label span{
    color: #e60b06;
}
.use-default{
    display: flex;
    flex-direction: row;
    align-items: center;
}
.use-default label{
    margin: 0;
    font-size: 12px;
}

.act-btn{
    border-radius: 9999999%;
    height: 50px;
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background-color: #f5912c8d;
    cursor: pointer;

    box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
}
.act-btn span{
    margin: 0;
    color: #fff;
}
.act-btn:hover{
    background-color: #f5912c;

}
.grid-con {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.grid-inputs-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.grid-con input {
    width: 100%;
    box-sizing: border-box;
}

.commit-btn{
    display: flex;
    margin-left: auto;
    border: none;
    background-color: #f17223;
    border-radius: 5px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
    padding: 10px 15px;
    font-size: 13px;
    color: #ffff;
    font-size: 13px;
    align-items: center;
    cursor: pointer;
    height: 35px;
    gap: 5px;
}
.commit-btn:hover{
    background-color: #d7651e;


}
.commit-btn .icon{
    font-size: 13px;
}

.remove-btn{
    width: auto;
    height: auto;
    border: none;
    box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
    cursor: pointer;
    border-radius: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(216, 0, 11, 0.494)
}
.remove-btn span{
    color: #ffffff89;
}
.remove-btn:hover{
    background-color: #ed1e26;

}
.remove-btn:hover span{

        color: #fff;

}
.form-list .input-forms{
    display: flex;
    flex-direction: column;
}

/* Chrome, Edge, Safari */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background-color: #ffde59;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #e7c748;
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #fff transparent;
}



.category-card.expanded {
    grid-column: 1 / -1;
    padding-bottom: 20px;
}

.products-dropdown.show {
    max-height: 500px !important;
    margin-top: 20px !important;
    padding-top: 20px;
    border-top: 2px solid rgba(255,255,255,0.3);
}

.product-tag{
    border-radius: 5px;
    padding: 8px 12px;
    background: white !important;
}
.product-tag span{
    font-size: 13px;
    color: #333
}

.product-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15) !important;
    border-color: #f5922a !important;
}

.product-tag.selected {
box-shadow: rgb(204, 219, 232) 3px 3px 6px 0px inset, rgba(255, 255, 255, 0.5) -3px -3px 6px 1px inset;}

.product-tag.selected .checkmark {
    display: inline !important;
}

.category-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 24px rgba(0,0,0,0.25) !important;
}

.category-card.active {
    box-shadow: 0 12px 28px rgba(0,0,0,0.35) !important;
}




        .alert {
            padding: 15px 20px;
            margin-bottom: 15px;
            border-radius: 5px;
            border-left: 4px solid;
            font-size: 14px;
            position: relative;
            top: 0;
            z-index: 1000;
        }

        .alert-success {
            background-color: #d4edda;
            color: #155724;
            border-left-color: #28a745;
        }

        .alert-danger {
            background-color: #f8d7da;
            color: #721c24;
            border-left-color: #dc3545;
        }

        .auto-hide {
            animation: fadeOut 0.5s ease-in 4.5s forwards;
            display: none;
        }

        @keyframes fadeOut {
            to {
                opacity: 0;
                height: 0;
                padding: 0;
                margin: 0;
            }
        }

        .search-result{
            cursor: pointer;
            border-bottom: 1px solid #6666661e;
            padding: 5px
        }
        .search-result:hover{
            background-color: #f9fbfc;
        }

        .step-section{
            display: flex; overflow-y:auto; height: 700px;
        }

.href-link{
    font-weight: bold;
    text-decoration: none;
    color: #f5922a;
}
.href-link:hover{
    color:#cb7621;
}

.step-section{
    flex: 1;
    overflow-y: auto;
}

.modal-content .modal-body .note-notify{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 5px;
    border-radius: 5px;
    border: 1px solid #5387ac;
    background-color: #cce8f4;
    margin-bottom: 10px;
}
.modal-body{
    display: flex;
    flex-direction: column;
    overflow: auto;
}
.note-notify .info,
.note-notify span{
    font-size: 13px;
    color: #5387ac;
}

        .step-section{
            height: fit-content;
        }
        .form-container .step-section form, #step1, #step2, #step3, #step4, #step5{
            margin: 0;
            background-color: transparent;
            max-height: 90%;
        }

        #four-grids{
             grid-template-columns: 1fr repeat(2, 20%) 10%;
        }

            .floating-btn {
                position: fixed;
                bottom: 30px;
                right: 30px;
                width: 60px;
                height: 60px;
                z-index: 9999;
                display: flex;
                align-items: center;
                justify-content: center;
                transition: transform 0.2s;
                background-color: #f17229;
                border-color: #f17229;
            }

            .floating-btn:hover {
                transform: scale(1.1);
                background-color: #d96725;
                border-color: #f17229;
            }
.rep-div{
    display: flex;
    flex-direction:row;
    justify-content: space-between;
}
.rep-div .group-name{
    display: flex;
    flex-direction:column;
    margin: 0;
    font-size: 14px;
    color: #333;
}
.rep-div .group-name .descri{
    font-size: 13px;
    color: #666;
}
.rep-div .add-btn{
    margin: 5px;
}
#auth-container{
   display: flex;
   align-items: center;
   flex-direction: column;
}

.auth-name-div,.sign-name-div{
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
}
.form-container .footer-btn{
    display: none;
}
#doc-list{
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    gap: 15px;
}
.mayors_permit{
    display:grid !important;
    grid-template-columns: 65% 35% !important;
    align-items: start;
}
.valid_ids{
    display: flex;
    flex-direction: column;

}
.valid_ids .two-valid-id{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
}

.two-valid-id .valid-1{
    display: flex;
    flex-direction: column;
}


/* .valid_ids div{
    display:grid !important;
    grid-template-columns: 1fr, 1fr !important;

    align-items: center;
} */
.product-form-main{
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid rgb(221, 221, 221);
    border-radius: 8px;
    background: rgb(249, 249, 249);
    transition: background 1.5s;
}
.product-form-main .profile-grid{
    grid-template-columns: repeat(2, 1fr);
}
#password-div{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px; width: 100%;
}
.product-form-main{
    width: 45%;
}
#info_btn{
    background-color: #f5912c;
    outline: none;
    transition: transform 0.3s ease;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}
#info_btn:hover{
    transform: translateY(-10px);
}
.register-btn{
    box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
    border: none;
    border-radius: 5px;
    color: #fff;
    background-color: #f99029;
    font-size: 13px;
    cursor: pointer;
    padding: 10px;
    width: 200px;
}
.register-btn:hover{
    background-color: #d77b1e;
}
