.btn-edit {
    padding: 8px 16px;
    height: 32px;
    background: #00bcd4;
    border-radius: 6px;
    box-shadow: 0px -3px 0px 0px #00000014 inset;
    color: #fcfcfc;
    flex-shrink: 0;
    white-space: nowrap;
    display: block;
    font-size: 12px;
    margin-right: 5px;

    &.red {
        background: #f44336;
    }
}

.btn-delete {
    padding: 8px 16px;
    height: 32px;
    background: #f44336;
    border-radius: 6px;
    box-shadow: 0px -3px 0px 0px #00000014 inset;
    color: #fcfcfc;
    flex-shrink: 0;
    white-space: nowrap;
    display: block;
    font-size: 12px;
    margin-right: 5px;

    &.red {
        background: #f44336;
    }
}

.mainTab {
    cursor: pointer;
}

.select2-container {
    z-index: 9999 !important;
}

.select2-container--open {
    z-index: 99999 !important;
}

.sizes-image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 16px;
}

.size-upload-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.size-upload-label {
    font-size: 13px;
    font-weight: 600;
    color: #444;
}

.size-upload-box {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    border: 2px dashed #dcdcdc;
    border-radius: 12px;
    cursor: pointer;
    overflow: hidden;
    background: #fafafa;
    transition: all .2s ease;
}

.size-upload-box:hover {
    border-color: #000;
    background: #f3f3f3;
}

.size-upload-input {
    display: none;
}

.upload-placeholder {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #999;
}

.upload-placeholder span {
    font-size: 28px;
    line-height: 1;
}

.upload-placeholder p {
    font-size: 12px;
    margin-top: 6px;
}

.preview-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product Comment */
.comment {
    display: flex;
    align-items: flex-start;
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    max-width: 100%;
    font-family: Arial, sans-serif;
    margin-top: 10px;
}

.comment-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #7c3aed;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 12px;
    flex-shrink: 0;
}

.comment-content {
    flex: 1;
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.comment-name {
    font-weight: 600;
    color: #111827;
}

.comment-time {
    font-size: 12px;
    color: #6b7280;
}

.comment-menu {
    margin-left: auto;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: #6b7280;
}

.comment-text {
    margin-top: 6px;
    color: #374151;
    font-size: 14px;
}

/**/

.comment-actions {
    margin-left: auto;
    position: relative;
}

.comment-menu {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
}

.dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 25px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    min-width: 140px;
    z-index: 100;
}

.dropdown-menu.active {
    display: block;
}

.dropdown-item {
    width: 100%;
    padding: 8px 12px;
    text-align: left;
    border: none;
    background: none;
    cursor: pointer;
}

.dropdown-item:hover {
    background: #f5f5f5;
}

.loader {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid #fff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    margin-right: 6px;
    animation: spin 0.6s linear infinite;
    vertical-align: middle;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

.table-product-image {
    transition: opacity 0.5s ease;
}

.product-image {
    transition: opacity 0.5s ease;
}

.login-footer-link {
    margin-top: 30px;
    text-align: center;
    font-size: 14px;
}

.login-footer-link a {
    color: #4E008E;
    font-weight: 600;
    text-decoration: none;
}

.login-footer-link a:hover {
    text-decoration: underline;
}
