.workorder-form {
    max-width: 90%;
    width: 100%;
    margin: 30px auto;
    font-family: 'Segoe UI', Tahoma, sans-serif;
    background-color: #ffffff;
    padding: 25px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

h3.text-center {
    text-align: center;
    margin-bottom: 25px;
    color: #3b82f6;
}

.rz-float-label {
    position: relative;
    margin-bottom: 1.6rem;
}

    .rz-float-label > label {
        position: absolute;
        top: -10px;
        left: 12px;
        font-size: 0.8rem;
        font-weight: 600;
        color: #3b82f6;
        background-color: #fff;
        padding: 0 6px;
        pointer-events: none;
    }

    .rz-float-label input,
    .rz-float-label textarea {
        width: 100%;
        padding: 12px 14px;
        font-size: 1rem;
        border-radius: 8px;
        border: 1px solid #cbd5e1;
        background-color: #f9fafb;
        box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
        transition: all 0.2s ease-in-out;
        box-sizing: border-box;
    }

        .rz-float-label input:focus,
        .rz-float-label textarea:focus {
            outline: none;
            border-color: #3b82f6;
            box-shadow: 0 0 0 3px rgba(59,130,246,0.2);
            background-color: #fff;
        }

    .rz-float-label textarea {
        min-height: 100px;
        resize: vertical;
    }

    .rz-float-label + .rz-float-label {
        margin-top: 15px;
    }

.input-btn-wrapper {
    display: flex;
    align-items: center;
}

.set-start-btn,
.set-end-btn {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 6px;
    transition: background-color 0.2s ease;
}

.set-start-btn {
    background-color: #16a34a;
}

    .set-start-btn:hover {
        background-color: #15803d;
    }

.set-end-btn {
    background-color: #dc2626;
}

    .set-end-btn:hover {
        background-color: #b91c1c;
    }

    .set-start-btn svg,
    .set-end-btn svg {
        display: block;
    }

.note-container {
    width: 100%;
}

.note-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blue-btn {
    background-color: #007bff !important;
    color: white !important;
}

.red-btn {
    background-color: #dc3545 !important;
    color: white !important;
}

.note-section {
    
    margin-bottom: 1rem;
}

.note-view {
    display: flex;
    align-items: flex-start; 
    gap: 0.5rem;
}

.note-edit {
    display: flex;
    align-items: flex-start; 
    gap: 0.5rem;
}

.btn-column {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    align-items: flex-start;
   /* margin-left: 0.35rem;*/ 
}

.circle-btn {
    border-radius: 50%;
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.btn-column-check-list {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.workorder-images {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.workorder-image {
    max-width: 200px;
    max-height: 200px;
    object-fit: cover;
    border: 1px solid #ccc;
    border-radius: 5px;
}


.rz-button.circle-btn {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

    .rz-button.circle-btn .rz-button-icon,
    .rz-button.circle-btn svg,
    .circle-btn .oi {
        width: auto;
        height: auto;
        display: block;
        vertical-align: middle;
        line-height: 1;
    }

button.circle-btn,
a.circle-btn {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    padding: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-column-check-list .rz-button,
.btn-column-check-list button,
.btn-column-check-list a {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    padding: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.rz-button.circle-btn .rz-button-icon,
.circle-btn .oi {
    margin-top: 2px;
}

.rz-float-label textarea,
.rz-float-label .rz-textarea {
    min-height: 100px;
    resize: vertical;
}


@media (max-width: 640px) {

    .note-view,
    .note-edit {
        display: grid;
        grid-template-columns: 1fr auto; 
        gap: 0.5rem;
        align-items: start; 
    }

    .btn-column {
        display: flex;
        flex-direction: column;
        gap: 2.5rem;
        align-items: center; 
    }

        .rz-button.circle-btn,
        .circle-btn,
        .btn-column .rz-button.circle-btn,
        .btn-column .circle-btn,
        .btn-column-check-list .rz-button,
        .btn-column-check-list button {
            width: 44px;
            height: 44px;
            min-width: 44px;
            min-height: 44px;
        }

    .rz-float-label input,
    .rz-float-label textarea {
        box-sizing: border-box;
    }

    .workorder-images {
        justify-content: center;
    }
}

@media (max-width: 340px) {
    .note-view,
    .note-edit {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .btn-column {
        flex-direction: row;
        justify-content: flex-start;
        gap: 0.5rem;
    }

        .btn-column .rz-button.circle-btn,
        .btn-column .circle-btn {
            width: 48px;
            height: 48px;
            min-width: 48px;
            min-height: 48px;
        }
}


.note-section .rz-float-label > label {
    font-size: 0.78rem;
    top: -9px;
}

.note-section .rz-float-label textarea,
.note-section .rz-float-label .rz-textarea {
    padding: 10px 12px;
}

