/* Freightton v1 - Style A (minimal, clean) */

.freightton-wrap {
    max-width: 720px;
    margin: 0 auto;
    padding: 24px;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.freightton-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
}

.freightton-subtitle {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 24px;
}

.freightton-field-row {
    margin-bottom: 16px;
}

.freightton-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 6px;
    color: #374151;
}

.freightton-input,
.freightton-textarea,
.freightton-select {
    width: 100%;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    padding: 10px 12px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    background: #f9fafb;
}

.freightton-input:focus,
.freightton-textarea:focus,
.freightton-select:focus {
    border-color: #4f46e5;
    box-shadow: 0 0 0 1px rgba(79, 70, 229, 0.2);
    background: #ffffff;
}

.freightton-textarea {
    min-height: 90px;
    resize: vertical;
}

.freightton-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 999px;
    border: none;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.35);
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.freightton-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(79, 70, 229, 0.45);
}

.freightton-button:disabled {
    opacity: 0.6;
    cursor: default;
    box-shadow: none;
    transform: none;
}

.freightton-status {
    margin-top: 16px;
    font-size: 13px;
}

.freightton-status--success {
    color: #16a34a;
}

.freightton-status--error {
    color: #dc2626;
}

.freightton-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px 16px;
}

.freightton-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 500;
    background: #eef2ff;
    color: #4f46e5;
    margin-bottom: 16px;
}

.freightton-small {
    font-size: 12px;
    color: #9ca3af;
}

.freightton-dashboard-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}

.freightton-card {
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    padding: 12px 14px;
    background: #f9fafb;
}

.freightton-card-title {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 4px;
}

.freightton-card-meta {
    font-size: 12px;
    color: #6b7280;
}
