﻿/* Grid Container */
.ctk-grid-container {
    background-color: #f8f9fa;
    border: 1px solid #e1e4e8;
    border-radius: 8px;
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
}

/* Grid Header */
.ctk-grid-header {
    background-color: #125A97;
    color: #FFF;
    font-size: 18px;
    font-weight: bold;
    padding: 5px 15px;
    text-align: center;
    border-radius: 4px 4px 0 0;
    line-height: 32px;
}

/* Grid Body */
.ctk-grid-body {
    padding: 5px 15px;
    min-height: 225px;
    overflow-y: auto;
}

/* Review Item */
.review-item {
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #e1e4e8;
    padding: 10px 0;
    transition: background-color 0.3s ease;
}

    .review-item:hover {
        background-color: #eaf3fc; /* Light blue on hover */
        border-radius: 6px;
    }

/* Review Image */
.review-image {
    height: 50px;
    width: 50px;
    border-radius: 50%; /* Circular image */
    background-color: #d9d9d9; /* Placeholder color */
    object-fit: cover;
}

/* Review Person Name */
.review-person {
    font-weight: bold;
    font-size: 14px;
    color: #323130; /* Darker text */
}

/* Review Title */
.review-title {
    font-size: 12px;
    color: #605e5c; /* Gray text */
}

/* Right Section: Action Icons */
.review-actions {
    display: flex;
    gap: 10px;
    flex: 1;
    justify-content: right;
}

    .review-actions i {
        font-size: 16px;
        color: #0078d4;
        cursor: pointer;
        transition: color 0.3s ease;
    }

        .review-actions i:hover {
            color: #005a9e; /* Darker blue on hover */
        }

.flyout-sidebar {
    position: fixed;
    top: 0;
    right: -600px;
    width: 600px;
    height: 100%;
    background-color: #FFF;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
    padding: 20px;
    transition: right 0.3s ease;
    z-index: 1000;
}

    .flyout-sidebar.active {
        right: 0;
    }

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-btn {
    cursor: pointer;
    border: none;
    background: none;
    font-size: 16px;
}

form .form-group {
    margin-bottom: 15px;
}

/* Date input styling */
.styled-date-input {
    font-size: 1rem;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    color: #333;
    background-color: #fff;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-sizing: border-box;
    width: 100%; /* Full width */
}

    /* Focus and hover states */
    .styled-date-input:focus,
    .styled-date-input:hover, input:hover, input:focus, textarea:hover, textarea:focus, select:hover, select:focus {
        border-color: #0066cc;
        box-shadow: 0 0 4px rgba(0, 102, 204, 0.5);
    }

    /* Disabled state styling */
    .styled-date-input:disabled {
        background-color: #f5f5f5;
        border-color: #ddd;
        color: #999;
        cursor: not-allowed;
    }

    /* Add a calendar icon inside the input */
    .styled-date-input::-webkit-calendar-picker-indicator {
        cursor: pointer;
        filter: invert(0.5);
        opacity: 0.8;
        margin-left: 5px;
    }