
.lds-pro-container {
    max-width: 1000px;
    margin: 30px auto;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.lds-pro-header {
    background: linear-gradient(135deg, #1a237e 0%, #0d47a1 100%);
    color: white;
    padding: 30px;
    text-align: center;
}

.lds-pro-title {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.lds-pro-subtitle {
    margin: 10px 0 0;
    font-size: 16px;
    opacity: 0.9;
}

.lds-pro-form {
    padding: 30px;
}

.lds-pro-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.lds-pro-col {
    display: flex;
    flex-direction: column;
}

.lds-pro-label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    font-size: 14px;
}

.lds-pro-select {
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    background: #fafafa;
    transition: border-color 0.3s;
}

.lds-pro-select:focus {
    outline: none;
    border-color: #1a237e;
    background: #fff;
}

.lds-pro-textarea-wrap {
    position: relative;
    margin-bottom: 20px;
}

.lds-pro-textarea {
    width: 100%;
    padding: 20px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    line-height: 1.8;
    resize: vertical;
    min-height: 250px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.lds-pro-textarea:focus {
    outline: none;
    border-color: #1a237e;
    box-shadow: 0 0 0 3px rgba(26, 35, 126, 0.1);
}

.lds-pro-char-count {
    position: absolute;
    bottom: 10px;
    right: 15px;
    font-size: 12px;
    color: #666;
    background: rgba(255,255,255,0.9);
    padding: 5px 10px;
    border-radius: 5px;
}

.lds-pro-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.lds-pro-btn {
    flex: 1;
    padding: 15px 30px;
    background: linear-gradient(135deg, #1a237e 0%, #0d47a1 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    letter-spacing: 0.5px;
}

.lds-pro-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(26, 35, 126, 0.3);
}

.lds-pro-btn:active {
    transform: translateY(0);
}

.lds-pro-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.lds-btn-icon {
    margin-right: 8px;
}

.lds-pro-btn-secondary {
    padding: 15px 25px;
    background: #fff;
    color: #1a237e;
    border: 2px solid #1a237e;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.lds-pro-btn-secondary:hover {
    background: #f5f5f5;
}

.lds-pro-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 20px;
}

.lds-pro-spinner {
    border: 4px solid #e0e0e0;
    border-top: 4px solid #1a237e;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: lds-spin 0.8s linear infinite;
}

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

.lds-loading-text {
    display: flex;
    flex-direction: column;
}

.lds-loading-text strong {
    font-size: 16px;
    color: #333;
}

.lds-loading-text span {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

.lds-pro-error {
    padding: 15px;
    background: #fef2f2;
    border: 2px solid #fecaca;
    border-radius: 10px;
    color: #dc2626;
    margin-bottom: 20px;
    font-size: 14px;
}

.lds-pro-result {
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
}

.lds-pro-result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
}

.lds-pro-result-header h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.lds-pro-result-actions {
    display: flex;
    gap: 10px;
}

.lds-pro-btn-small {
    padding: 8px 15px;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.3s;
}

.lds-pro-btn-small:hover {
    background: #f3f4f6;
}

.lds-pro-result-meta {
    display: flex;
    gap: 20px;
    padding: 10px 20px;
    background: #f3f4f6;
    font-size: 13px;
    color: #666;
}

.lds-pro-summary {
    padding: 25px;
    background: #fff;
    line-height: 2;
    font-size: 16px;
    color: #333;
    max-height: 600px;
    overflow-y: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
    text-align: justify;
}

@media (max-width: 768px) {
    .lds-pro-container {
        margin: 15px;
    }
    
    .lds-pro-header {
        padding: 20px;
    }
    
    .lds-pro-title {
        font-size: 22px;
    }
    
    .lds-pro-form {
        padding: 20px;
    }
    
    .lds-pro-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .lds-pro-actions {
        flex-direction: column;
    }
    
    .lds-pro-btn,
    .lds-pro-btn-secondary {
        width: 100%;
    }
}
