:root {
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --bg: #f8fafc;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --white: #ffffff;
    --border: #e2e8f0;
    --radius: 16px;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg);
    color: var(--text-main);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.app-container {
    width: 100%;
    max-width: 480px;
}

header {
    text-align: center;
    margin-bottom: 32px;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 800;
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 8px;
}

.icon-logo {
    width: 32px;
    height: 32px;
}

.subtitle {
    color: var(--text-muted);
    font-size: 15px;
}

.card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.shadow-soft {
    box-shadow: var(--shadow);
}

.card-body {
    padding: 32px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
    color: var(--text-main);
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: 14px;
    width: 18px;
    height: 18px;
    color: var(--text-muted);
}

.input-wrapper input, 
.input-wrapper select {
    width: 100%;
    padding: 12px 12px 12px 42px;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    font-family: inherit;
    font-size: 15px;
    transition: all 0.2s;
    outline: none;
    background: var(--white);
}

.input-wrapper input:focus, 
.input-wrapper select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.btn-primary {
    width: 100%;
    padding: 14px;
    background-color: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
    margin-top: 10px;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
}

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

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Result Section */
.result-card {
    border: 2px solid var(--primary);
    background: linear-gradient(to bottom, #eff6ff, #ffffff);
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hidden {
    display: none;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 16px;
}

.status-badge.success {
    background-color: #dcfce7;
    color: #166534;
}

.result-card h3 {
    font-size: 20px;
    margin-bottom: 4px;
}

.description {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 20px;
}

.link-display {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
}

.link-display input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #f1f5f9;
    font-size: 13px;
    color: var(--text-muted);
}

#btn-copy {
    padding: 10px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

#btn-copy:hover {
    background: #f1f5f9;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-secondary {
    text-decoration: none;
    text-align: center;
    padding: 12px;
    background: var(--text-main);
    color: var(--white);
    border-radius: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--border);
    padding: 12px;
    border-radius: 12px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
}

footer {
    text-align: center;
    margin-top: 10px;
    font-size: 13px;
    color: var(--text-muted);
}

/* Toast */
.toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #334155;
    color: white;
    padding: 12px 24px;
    border-radius: 100px;
    font-size: 14px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    z-index: 100;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; bottom: 0; }
    to { opacity: 1; bottom: 20px; }
}