﻿<style >

/*OperatorLicenseCompilance.razor css files */
/*------------------------------------------------*/


/* Makes the Syncfusion box taller and easier to click */
.e-larger.e-dropdownlist.e-control-wrapper {
    height: 40px !important;
}

/* Adds a nice hover effect to the selection card */
.operator-selection-wrapper .card {
    transition: transform 0.2s;
}

/* Ensures the label has a bit of space from the input */
.form-label {
    margin-bottom: 0.5rem;
    display: block;
}

/* Forces the button and dropdown to be the same height and look connected */
.custom-operator-group {
    height: 38px;
}

    .custom-operator-group .e-dropdownlist {
        height: 100% !important;
    }

    .custom-operator-group .e-control-wrapper {
        border-top-right-radius: 0 !important;
        border-bottom-right-radius: 0 !important;
        flex: 1;
    }

    .custom-operator-group .btn-success {
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
        z-index: 4;
        display: flex;
        align-items: center;
        padding: 0 15px;
    }



/*    OperatorLicenceComponent css files */
/*-----------------------------------------------*/



.file-badge-container {
    display: flex;
    flex-direction: column;
    max-width: 180px;
}

.file-name-text {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.85rem;
    color: #444;
    font-weight: 600;
    margin-bottom: 4px;
}

/* Making View/Delete buttons bigger */
.file-actions .btn-sm {
    padding: 4px 12px !important; /* Larger padding */
    font-size: 0.8rem !important; /* Larger font */
    font-weight: 500;
}

/* Making the Remove button bigger and ensuring it sits lower */
.btn-outline-danger.btn-sm {
    padding: 5px 15px !important;
    font-size: 0.8rem !important;
    margin-top: 10px; /* Pushes the button down */
}

/* Ensure table row provides enough height for the 'down' placement */
.table td {
    padding: 12px 8px !important;
    vertical-align: top; /* Align content to top so margin-top works for buttons */
}


/* LicenceDetailComponent css files */
/*-----------------------------------------*/
 .licenses-details-card .table td {
        padding: 0.75rem !important;
        vertical-align: middle;
    }

    .file-display {
        display: flex;
        flex-direction: column;
        max-width: 180px;
    }

    .file-name {
        font-size: 0.8rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        color: #666;
    }

    .bg-danger-subtle {
        background-color: #f8d7da !important;
    }

    .bg-success-subtle {
        background-color: #d1e7dd !important;
    }

    .preview-dialog .e-dlg-content {
        height: calc(100% - 50px); /* accounts for header */
        padding: 0;
        display: flex;
    }

    .preview-iframe {
        width: 100%;
        height: 100%;
        border: none;
    }

    .licenses-details-card .table td {
        padding: 0.75rem !important;
        vertical-align: middle;
    }

    .file-display {
        display: flex;
        flex-direction: column;
        max-width: 180px;
    }

    .file-name {
        font-size: 0.8rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        color: #666;
    }

    .preview-dialog .e-dlg-content {
        height: calc(100% - 50px);
        padding: 0;
        display: flex;
    }

    .preview-iframe {
        width: 100%;
        height: 100%;
        border: none;
    }
</style >
