﻿
/* Bright yellow button with teal border & black text */
.btn-post-project-now {
    background-color: #ffd200; /* or #ffc107 for a Bootstrap-like warning */
    color: #000; /* black text */
    border: 2px solid #00e5d1; /* teal border to match your brand color */
    font-weight: 600;
    padding: 0.5rem 1rem;
    transition: opacity 0.2s ease;
}

    .btn-post-project-now:hover {
        opacity: 0.8;
    }

/* Light gray button with teal border & black text */
.btn-join-as-supplier {
    background-color: #f8f9fa; /* light gray/white */
    color: #000;
    border: 2px solid #00e5d1; /* teal border */
    font-weight: 600;
    padding: 0.5rem 1rem;
    transition: opacity 0.2s ease;
}

    .btn-join-as-supplier:hover {
        opacity: 0.8;
    }

.centered-input input.e-input {
    text-align: center;
}

.sfgrid-clean .e-grid {
    font-family: 'Segoe UI', sans-serif;
    border: none;
}

.sfgrid-clean .e-gridheader,
.sfgrid-clean .e-gridcontent {
    border: none;
}

.sfgrid-clean .e-rowcell,
.sfgrid-clean .e-headercell {
    border-bottom: 1px solid #eee;
    padding: 8px 12px;
}

.sfgrid-clean .e-headercell {
    background-color: #f9f9f9;
    font-weight: bold;
    color: #333;
}

.sfgrid-soft .e-grid {
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

.sfgrid-soft .e-headercell {
    background-color: #fafafa;
    font-weight: 600;
    color: #444;
}

.sfgrid-soft .e-row:hover {
    background-color: #f0f8ff;
}

.e-tab .e-tab-header .e-toolbar-item.e-active .e-tab-text {
    color: black;
    font-weight: 700;
}

.centered-bold-checkbox .e-label {
    font-weight: bold;
    color: darkred;
    font-size: 18px;
    text-align: center;
    align-items: center;
}

.custom-switch.e-switch {
    --switch-width: 150px;
    --switch-height: 34px;
    width: var(--switch-width);
    height: var(--switch-height);
}

    .custom-switch.e-switch .e-switch-inner {
        border-radius: 34px;
        background-color: #f8d7da; /* Light red when OFF */
    }

    .custom-switch.e-switch .e-switch-handle.e-switch-active {
        /*left: 100%;*/
        /*margin-left: -18px;*/
        background-color: #28a745; /* Green when ON */
    }


    .custom-switch.e-switch .e-switch-handle {
        width: 30px;
        height: 30px;
        top: 2px;
        background: #dc3545; /* Red handle when OFF */
        box-shadow: 0 2px 8px rgba(0,0,0,0.15);
        left: 2px;
    }

    .custom-switch.e-switch.e-switch-checked .e-switch-handle {
        background: #fff; /* White handle when ON, or set to another color if you prefer */
        /* No left property! */
    }

    /* Optional: Increase font size of labels */
    .custom-switch.e-switch .e-switch-on,
    .custom-switch.e-switch .e-switch-off {
        font-size: 1.2rem;
        font-weight: 600;
    }

.e-tab .e-tab-header {
    background: #0F73CF !important;
}

    .e-tab .e-tab-header .e-toolbar-items {
        border: 2px solid blue;
        color: white;
        background-color: white !important;
    }

    .e-tab .e-tab-header .e-toolbar-item .e-tab-wrap:hover {
        background: #d1f6d1 !important;
    }


/* Give each item space, fix overflow */
.e-listview .e-list-item,
.e-listview .e-list-header {
    overflow: visible !important;
    padding: 0 !important;
    background: transparent;
    border: none;
}

.quote-card-custom {
    min-height: 100px;
    box-shadow: 0 2px 6px #0001;
    background: #fff;
    border-radius: 10px;
    margin-bottom: 12px;
    padding: 12px;
}

.e-listview .e-list-item {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}
