/* Submit Container */
.submit-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

/* Hold-to-Send Button */
.submit-btn.hold-to-send {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    border: none;
    padding: 18px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    user-select: none;
    touch-action: manipulation;
    -webkit-touch-callout: none;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.submit-btn.hold-to-send:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.submit-btn.hold-to-send:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.button-content {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 2;
}

.button-text {
    font-weight: 600;
    white-space: nowrap;
}

/* Progress Circle */
.progress-circle {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: conic-gradient(
        from 0deg,
        rgba(255, 255, 255, 0.3) 0deg,
        rgba(255, 255, 255, 0.3) calc(var(--progress) * 3.6deg),
        transparent calc(var(--progress) * 3.6deg),
        transparent 360deg
    );
    border-radius: 12px;
    opacity: 0.8;
}

/* Submit Icon */
.submit-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Loading Spinner */
.loading-spinner {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner {
    animation: rotate 2s linear infinite;
    width: 20px;
    height: 20px;
}

.path {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: 0;
    stroke-linecap: round;
    animation: dash 1.5s ease-in-out infinite;
}

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

@keyframes dash {
    0% {
        stroke-dasharray: 1, 150;
        stroke-dashoffset: 0;
    }
    50% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -35;
    }
    100% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -124;
    }
}

/* Hold Instruction */
.hold-instruction {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
    text-align: center;
    justify-content: center;
}

.hold-instruction svg {
    width: 16px;
    height: 16px;
    color: #22c55e;
    flex-shrink: 0;
}

/* Button States */
.submit-btn.hold-to-send:active {
    transform: translateY(-1px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .submit-btn.hold-to-send {
        padding: 20px 24px;
        font-size: 1rem;
        min-height: 64px;
    }
    
    .button-content {
        gap: 10px;
    }
    
    .hold-instruction {
        font-size: 0.8rem;
    }
}
