
.comt-reply-form-container {
    position: fixed;
    bottom: 0;
    background-color: white;
    box-shadow: 0px 0px 2px 0px #d8cdcd;
    z-index: 10;
    margin: 4px;
}

.comt-reply-form {
    width: 100%;
    margin: 0 auto;
}

.comt-reply-form-alert {
    display: none;
    position: relative;
    overflow: hidden;
    max-height: 100px;
    width: 100px;
    margin-bottom: 10px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 2px solid #007bff;
}

.comt-reply-form-close-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    z-index: 22;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.comt-reply-form-close-btn:hover {
    background: #c82333;
    transform: scale(1.1);
}

.comt-reply-form-preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    border-radius: 10px;
}

.comt-reply-form-input-group {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    background: white;
    border-radius: 25px;
    padding: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
}

.comt-reply-form-upload-btn {
    background: transparent;
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.comt-reply-form-upload-btn:hover {
    background: #f8f9fa;
    transform: scale(1.05);
}

.comt-reply-form-upload-icon {
    color: #6c757d;
    font-size: 1.3em;
    transition: color 0.3s ease;
}

.comt-reply-form-upload-btn:hover .comt-reply-form-upload-icon {
    color: #007bff;
}

.comt-reply-form-emoji-container {
    display: none;
    width: 44px;
    height: 44px;
    position: relative;
    flex-shrink: 0;
}

.comt-reply-form-emoji {
    width: 100%;
    height: 100%;
    border: 1px solid #999;
    border-radius: 50%;
    background-color: #f9f6f6;
    resize: none;
    padding: 8px;
    box-sizing: border-box;
}

.comt-reply-form-file-input {
    display: none;
}

.comt-reply-form-textarea {
    flex: 1;
    border: none;
    border-radius: 20px;
    padding: 12px 16px;
    height: 44px;
    resize: none;
    background: #f8f9fa;
    font-size: 14px;
    line-height: 1.4;
    transition: all 0.3s ease;
    min-height: 44px;
    max-height: 120px;
}

.comt-reply-form-textarea:focus {
    outline: none;
    background: white;
    box-shadow: 0 0 0 2px rgba(0,123,255,0.25);
}

.comt-reply-form-textarea::placeholder {
    color: #6c757d;
}

.comt-reply-form-submit-btn {
    background: #007bff;
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    color: white;
}

.comt-reply-form-submit-btn:hover {
    background: #0056b3;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,123,255,0.3);
}

.comt-reply-form-submit-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
}

.comt-reply-form-send-icon {
    transition: transform 0.3s ease;
}

.comt-reply-form-submit-btn:hover .comt-reply-form-send-icon {
    transform: translateX(2px);
}

/* Responsive */
@media (max-width: 768px) {
    .comt-reply-form-container {
        padding: 12px 8px;
    }
    
    .comt-reply-form-input-group {
        padding: 6px;
    }
    
    .comt-reply-form-textarea {
        padding: 10px 14px;
        font-size: 13px;
    }
}

/* Animation pour l'apparition */
@keyframes comt-reply-form-fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.comt-reply-form-container {
    animation: comt-reply-form-fadeIn 0.3s ease-out;
}
