/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* Root */
.boms-root {
    font-family: "Inter", sans-serif;
    margin: 30px;
    animation: fadeIn 0.7s ease;
}

/* Card - Modern Glass Look */
.boms-card {
    max-width: 980px;
    margin: 0 auto;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(16px);
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 25px 55px rgba(0,0,0,0.07);
    animation: slideUp 0.6s ease;
}
/* Modern Form Container */
.boms-auth-box {
    background: #ffffff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    animation: fadeIn 0.4s ease-in-out;
    margin-bottom: 25px;
}

/* Fade Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Title */
.boms-auth-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
    color: #333;
}

/* Two Buttons: New User + Existing User */
.boms-auth-switch {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.boms-auth-switch button {
    flex: 1;
    padding: 14px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: .3s;
    background: #f3f3f3;
}

.boms-auth-switch button.active {
    background: #e1c988;
    color: #fff;
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(225,201,136,0.3);
}

.boms-auth-switch button:hover {
    background: #e1c988;
    color: white;
}

/* Form Grid 2 Columns */
.boms-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

/* Single Field Full Width */
.boms-form-full {
    grid-column: span 2;
}

/* Input Style */
.boms-auth-box input {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid #ddd;
    background: #fafafa;
    font-size: 15px;
    transition: .3s box-shadow, .3s border;
}

.boms-auth-box input:focus {
    border-color: #e1c988;
    box-shadow: 0 0 0 4px rgba(225,201,136,0.2);
    background: #fff;
    outline: none;
}

/* Submit Button */
.boms-auth-btn {
    width: 100%;
    padding: 14px;
    border-radius: 14px;
    background: #e1c988;
    border: none;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 20px;
    transition: .3s;
}

.boms-auth-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(225,201,136,0.4);
}

/* Login Note */
.boms-auth-note {
    text-align: center;
    font-size: 14px;
    margin-top: 12px;
    color: #777;
}

/* Responsive */
@media(max-width: 640px){
    .boms-form-grid {
        grid-template-columns: 1fr;
    }
}

/* Stepper */
.boms-stepper {
    display: flex;
    gap: 10px;
    margin-bottom: 18px;
}

.boms-step {
    flex: 1;
    padding: 14px;
    background: #f2f2f2;
    text-align: center;
    border-radius: 14px;
    font-weight: 600;
    color: #444;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.boms-step:hover {
    background: #e1c98833;
}

.boms-step-active {
    background: #e1c988;
    color: #fff;
    transform: translateY(-2px) scale(1.05);
    opacity: 1;
    box-shadow: 0 6px 15px rgba(225,201,136,0.4);
}

/* Progress bar */
.boms-progress {
    height: 8px;
    background: #eee;
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 20px;
}

.boms-progress-bar {
    height: 8px;
    background: linear-gradient(90deg, #e1c988, #d1b070);
    width: 0%;
    transition: width 0.4s ease-in-out;
}

/* Step Panels */
.boms-step-panel {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.boms-step-panel.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Form Layout */
.boms-row {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.boms-col {
    flex: 1;
    min-width: 220px;
}

/* Floating Label Inputs */
.boms-step-panel input,
.boms-step-panel textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #ccc;
    background: #fff;
    transition: 0.25s;
    font-size: 15px;
}

.boms-step-panel input:focus,
.boms-step-panel textarea:focus {
    border-color: #e1c988;
    box-shadow: 0 0 0 4px rgba(225,201,136,0.25);
    outline: none;
}

/* Buttons */
.boms-btn-wrap {
    text-align: right;
    margin-top: 20px;
}

.boms-btn {
    padding: 11px 20px;
    border-radius: 12px;
    background: #fff;
    color: #444;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid #e1e1e1;
    transition: all 0.25s;
}

.boms-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

.boms-btn-primary {
    background: #e1c988;
    border-color: #e1c988;
    color: #fff;
}

.boms-btn-primary:hover {
    background: #cfb376;
}

/* Search Box */
#boms-search {
    width: 100%;
    padding: 12px;
    margin-bottom: 16px;
    border-radius: 10px;
    border: 1px solid #ccc;
    transition: 0.25s;
}

#boms-search:focus {
    border-color: #e1c988;
    box-shadow: 0 0 0 4px rgba(225,201,136,0.25);
}

/* Products Table */
.boms-products-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
}

.boms-products-table th,
.boms-products-table td {
    padding: 12px;
    border-bottom: 1px solid #eee;
    font-size: 15px;
}

.boms-products-table tr {
    transition: background 0.25s;
}

.boms-products-table tr:hover {
    background: rgba(225,201,136,0.1);
}

.boms-qty-input {
    width: 65px;
    padding: 6px 8px;
    border-radius: 8px;
    border: 1px solid #ccc;
    transition: 0.25s;
}

.boms-qty-input:focus {
    border-color: #e1c988;
}

/* Pagination */
.boms-pagination-wrap {
    margin-top: 16px;
}

.boms-page-num {
    display: inline-block;
    padding: 7px 12px;
    margin-right: 5px;
    border-radius: 8px;
    border: 1px solid #ddd;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.25s;
}

.boms-page-num:hover {
    background: #e1c98833;
}

.boms-page-num.active {
    background: #e1c988;
    color: #fff;
    border-color: #e1c988;
}

/* Empty */
.boms-empty {
    padding: 14px;
    background: #fafafa;
    border-radius: 12px;
    color: #777;
}

/* Final Message */
.boms-message {
    padding: 16px;
    background: #e1c988;
    color: #fff;
    font-weight: 600;
    border-radius: 12px;
    margin-top: 20px;
    animation: fadeIn 0.4s ease;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(15px); opacity:0; }
    to { transform: translateY(0); opacity:1; }
}

/* Mobile */
@media(max-width: 720px){
    .boms-row {
        flex-direction: column;
    }
    .boms-stepper {
        flex-direction: column;
    }
}
