﻿.wizard-container {
    display: flex;
    min-height: 85vh;
}

/* LEFT SIDEBAR */
.wizard-sidebar {
    width: 300px;
    border-right: 1px solid #e5e7eb;
    padding: 15px;
    background: #f8f9fa;
    overflow-y: auto;
}

.wizard-step-item {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    margin-bottom: 6px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.25s ease;
    position: relative;
}

    /* Hover */
    .wizard-step-item:hover {
        background: #eef4ff;
    }

.wizard-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #adb5bd;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    flex-shrink: 0;
}

.wizard-step-item.completed {
    background: #d1e7dd;
    color: #0f5132;
}

    .wizard-step-item.completed .wizard-icon {
        background: #198754;
    }

.wizard-step-item.active {
    background: #0d6efd;
    color: #fff;
    box-shadow: 0 4px 12px rgba(13,110,253,.3);
}

    .wizard-step-item.active .wizard-icon {
        background: #fff;
        color: #0d6efd;
    }

.wizard-step-item::before {
    content: "";
    position: absolute;
    left: 25px;
    top: 40px;
    width: 2px;
    height: calc(100% - 40px);
    background: #dee2e6;
}

.wizard-step-item:last-child::before {
    display: none;
}

.wizard-step-item.completed::before {
    background: #198754;
}

.wizard-content {
    flex: 1;
    padding: 25px;
    background: #fff;
}

.wizard-card {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(6px);
    border-radius: 14px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,.1);
}

.section-title {
    border-left: 5px solid #0d6efd;
    padding-left: 12px;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
    color: #0d6efd;
}

.radio-inline input {
    margin-right: 5px;
}

.radio-inline label {
    margin-right: 20px;
}

input:disabled,
select:disabled,
textarea:disabled,
button:disabled {
    background-color: #f2f2f2; /* light gray */
    color: #666;
    cursor: not-allowed;
    opacity: 1; /* prevents default faded look */
    font-size:12px;
}

/* Style for all grid pages*/

body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #f9f9f9;
}

.container {
    width: 90%;
    max-width: 950px;
    margin: 30px auto;
    background-color: #fff;
    padding: 25px 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border-radius: 8px;
}

h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.form_table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

    .form_table td {
        border: 1px solid #ddd;
        padding: 8px 12px;
        text-align: left;
        width: 25%;
    }

    .form_table th {
        border: 1px solid #ddd;
        padding: 8px 12px;
        background-color: #007BFF;
        color: white;
        text-align: center;
    }

    .form_table td input[type=text], .form_table td select {
        width: 100%;
        padding: 5px;
        text-align: left;
        border-radius: 4px;
        border: 1px solid #ccc;
    }

.btn {
    padding: 6px 12px;
    border-radius: 5px;
    cursor: pointer;
    border: none;
    color: #fff;
    background-color: #007BFF;
}



    .btn:hover {
        background-color: #0056b3;
    }


.btn-upload {
    border-style: none;
    border-color: inherit;
    border-width: medium;
    width: 100%;
    height: 30px;
    padding: 4px 10px;
    font-size: 12px;
    color:white;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease-in-out;
    background-color: #28a745;
}

    /* ✅ Hover (different shade) */
    .btn-upload:hover {
        background-color: #1e7e34; /* darker green */
        transform: translateY(-1px); /* slight lift effect */
    }

    /* ✅ Optional active click effect */
    .btn-upload:active {
        background-color: #146c43;
        transform: scale(0.98);
    }

/* ✅ Inline layout (cleaned) */
.upload-inline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

    .upload-inline td {
        text-align: center;
        white-space: nowrap;
    }


/*.btn-add {
            background-color: #4CAF50;
            color: white;
            font-weight: bold;
            height: 30px;
            border-radius: 50%;
            border: none;
            cursor: pointer;
            width: 100%;
        }
*/
.btn-primary:hover {
    transform: scale(1.05);
    transition: 0.2s ease-in-out;
}

.btn-add {
    padding: 6px 12px;
    border-radius: 5px;
    cursor: pointer;
    border: none;
    color: #fff;
    background-color: #007BFF;
    text-align:center;
}

.btn-delete {
    background-color: #f44336;
    color: white;
    font-weight: bold;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
}

.btn-save {
    background-color: #28a745; /* green */
    margin-top: 10px;
    color: white;
    border: none;
    align-items: center;
}

    .btn-save:hover {
        background-color: #1e7e34; /* darker green */
    }




#lblSaveMsg {
    display: block;
    margin-top: 10px;
    font-weight: 600;
    text-align: center;
}

.wizard-header.vertical {
    background: #f8f9fa;
    border-right: 1px solid #ddd;
    min-height: 100vh;
    padding: 15px;
}

.btn-view {
    color: #fff;
    padding: 6px 10px;
    border-radius: 5px;
    text-decoration: none;
}

    .btn-view:hover {
        background-color: #5a6268;
    }



/* Keep file upload and button in same line */
.fu-inline {
    width: 180px;
    display: inline-block;
    vertical-align: middle;
}
