* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, "Hiragino Sans", "Yu Gothic", sans-serif;
    background: linear-gradient(180deg, #f7f9fc 0%, #eef3f8 100%);
    color: #1f2937;
}

.top-page {
    flex: 1;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 28px 16px 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
}

.hero-card,
.action-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
    padding: 24px 20px;
}

.hero-card {
    text-align: center;
}

.app-badge {
    display: inline-block;
    margin: 0 0 12px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #ecfdf3;
    color: #16a34a;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.application-name {
    margin: 0;
    font-size: 30px;
    font-weight: 800;
    color: #111827;
    line-height: 1.2;
}

.application-description {
    margin: 12px 0 0;
    font-size: 14px;
    line-height: 1.7;
    color: #6b7280;
}

.action-header {
    margin-bottom: 16px;
}

.action-header h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #111827;
}

.action-header p {
    margin: 6px 0 0;
    font-size: 13px;
    color: #6b7280;
}

.action-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.action-form {
    margin: 0;
}

.btn {
    width: 100%;
    border: none;
    border-radius: 18px;
    padding: 18px 16px;
    text-align: left;
    cursor: pointer;
    transition: transform 0.15s, opacity 0.15s, box-shadow 0.15s;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
}

.btn:hover {
    opacity: 0.96;
}

.btn:active {
    transform: translateY(1px);
}

.staff-button {
    background: linear-gradient(135deg, #06c755 0%, #35d06e 100%);
    color: #ffffff;
}

.manager-button {
    background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
    color: #ffffff;
}

.btn-title {
    display: block;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}

.btn-subtitle {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    opacity: 0.9;
    line-height: 1.5;
}

.app-footer {
    text-align: center;
    padding: 12px 16px 20px;
    color: #9ca3af;
    font-size: 12px;
}

@media (max-width: 480px) {
    .top-page {
        padding: 20px 12px 12px;
        gap: 14px;
    }

    .hero-card,
    .action-card {
        border-radius: 18px;
        padding: 20px 16px;
    }

    .application-name {
        font-size: 26px;
    }

    .btn {
        border-radius: 16px;
        padding: 16px 14px;
    }

    .btn-title {
        font-size: 17px;
    }
}