/* Adapt Shift Portal styles */

.asp-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 24px 28px;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
    max-width: 640px;
    margin: 24px auto;
    border: 1px solid #f1f5f9;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.asp-upload-card {
    text-align: left;
}

.asp-title {
    font-size: 1.4rem;
    margin: 0 0 4px 0;
    font-weight: 600;
    color: #0f172a;
}

.asp-subtitle {
    margin: 0 0 18px 0;
    color: #64748b;
    font-size: 0.95rem;
}

.asp-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.asp-field-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 8px;
}

.asp-file-row input[type="file"] {
    padding: 10px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    font-size: 0.95rem;
}

.asp-label {
    font-weight: 500;
    color: #0f172a;
    font-size: 0.9rem;
}

.asp-button-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    background: #7c3aed;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.98rem;
    text-decoration: none;
    transition: transform 0.06s ease-out, box-shadow 0.06s ease-out, background 0.15s;
    box-shadow: 0 10px 25px rgba(124, 58, 237, 0.35);
}

.asp-button-primary:hover {
    background: #6d28d9;
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(124, 58, 237, 0.4);
}

.asp-button-primary:active {
    transform: translateY(0);
    box-shadow: 0 6px 18px rgba(124, 58, 237, 0.3);
}

.asp-button-large {
    width: 100%;
    margin-top: 8px;
}

.asp-success {
    border-left: 4px solid #22c55e;
}

.asp-error {
    border-left: 4px solid #ef4444;
}

.asp-warning {
    border-left: 4px solid #eab308;
}

.asp-warning h2,
.asp-success h2 {
    margin-top: 0;
}

.asp-card h2 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.asp-card p {
    font-size: 0.95rem;
    color: #475569;
}

.asp-card a {
    text-decoration: none;
}

.asp-card form .asp-field-row input[type="text"] {
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    font-size: 0.9rem;
}

/* Responsive tweaks */
@media (max-width: 640px) {
    .asp-card {
        margin: 12px;
        padding: 18px 16px;
    }
}
