/* Button: usr 공통 기능 스타일 */

.go-recipe-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 46px;
    padding: 0 22px;
    border-radius: 999px;
    background: #4CAF50;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

.selection-action-bar button {
    height: 52px;
    border: none;
    border-radius: 16px;
    font-weight: 800;
    cursor: pointer;
}

.select-delete-btn {
    width: 35%;
    background: #f3f3f3;
    color: #555;
}

.selection-action-bar.single-action button {
    width: 100%;
}

.order-btn {
    flex: 1;
    background: #4CAF50;
    color: #fff;
}

.login-btn,
.help-btn {
    border: none;
    background: #fff;
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 6px 18px rgba(23, 37, 30, 0.08);
    cursor: pointer;
}

.menu-btn {
    width: 42px;
    height: 42px;

    border: none;
    border-radius: 12px;

    background: #f4f4f4;

    font-size: 22px;
    font-weight: 700;

    cursor: pointer;

    transition: 0.2s;
}

.menu-btn:hover {
    background: #e9e9e9;
}

.delete-btn {
    height: 48px;
    padding: 0 22px;

    border: none;
    border-radius: 14px;

    background: #ef4444;
    color: white;

    font-size: 15px;
    font-weight: 700;

    cursor: pointer;

    transition: .25s;
    box-shadow: 0 10px 25px rgba(239, 68, 68, .25);
}

.delete-btn:hover {
    background: #dc2626;
    transform: translateY(-2px);
}

.cancel-btn {
    background: #f1f5f9;
    color: #475569;
}

.cancel-btn:hover {
    background: #e2e8f0;
}

.confirm-delete-btn {
    background: #ef4444;
    color: white;

    box-shadow: 0 10px 25px rgba(239, 68, 68, .25);
}

.confirm-delete-btn:hover {
    background: #dc2626;
    transform: translateY(-2px);
}

.confirm-btn {
    height: 48px;
    padding: 0 22px;

    border: none;
    border-radius: 14px;

    background: #84cc16;
    color: white;

    font-size: 15px;
    font-weight: 700;

    cursor: pointer;

    transition: .25s;
    box-shadow: 0 10px 25px rgba(132, 204, 22, .25);
}

.confirm-btn:hover {
    background: #65a30d;
    transform: translateY(-2px);
}

.confirm-icon {
    width: 84px;
    height: 84px;

    margin: 0 auto 22px;

    border-radius: 24px;

    background: rgba(132, 204, 22, .12);

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 40px;
}

.page-btn {
    min-width: 34px;
    height: 34px;

    border: none;
    border-radius: 50%;

    background: transparent;
    color: #777;

    font-size: 14px;
    font-weight: 800;

    cursor: pointer;
    transition: 0.15s ease;
}

.page-btn:hover {
    background: #f3f8f1;
    color: #4CAF50;
}

.page-btn.active {
    background: #4CAF50;
    color: #fff;
    box-shadow: 0 5px 14px rgba(76, 175, 80, 0.28);
}

.page-btn.prev-next {
    font-size: 24px;
    line-height: 1;
    color: #4CAF50;
}

.page-btn.prev-next:hover {
    background: #eaf7ea;
}

.ingredient-analysis .sub-btn {
    height: 48px;
    border: none;
    border-radius: 18px;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
}

.ingredient-analysis .sub-btn.dark {
    background: #17251e;
    color: #fff;
}

.ingredient-analysis .sub-btn.light {
    background: #eef7f1;
    color: #1f6f43;
}

.ingredient-analysis .analyze-btn {
    width: 100%;
    height: 54px;
    border: none;
    border-radius: 20px;
    background: #20a75b;
    color: #fff;
    font-size: 16px;
    font-weight: 900;
    box-shadow: 0 14px 28px rgba(32, 167, 91, 0.24);
    cursor: pointer;
}

.ingredient-analysis .remove-image-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background: rgba(23, 37, 30, 0.72);
    color: #fff;
    font-size: 18px;
    font-weight: 900;
    backdrop-filter: blur(8px);
    display: none;
    z-index: 10;
    cursor: pointer;
    transition: 0.2s ease;
}

.ingredient-analysis .remove-image-btn:hover {
    background: rgba(220, 53, 69, 0.9);
}

.ingredient-analysis .ingredient-tag button {
    border: none;
    background: none;

    color: #999;
    cursor: pointer;

    font-size: 14px;
}

.ingredient-analysis .help-btn {
    position: absolute;
    top: 14px;
    right: 14px;

    width: 28px;
    height: 28px;

    border-radius: 50%;
    border: 1px solid #d1d5db;

    background: rgba(255, 255, 255, .9);
    color: #6b7280;

    font-size: 14px;
    font-weight: 700;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
}

.ingredient-analysis .help-btn:hover {
    background: #e5e7eb;
}

.recommendation-results .recipe-detail-btn {
    width: 100%;
    height: 46px;
    margin-top: 14px;
    border: none;
    border-radius: 16px;
    background: linear-gradient(135deg, #22b864, #1ba455);
    color: #fff;
    font-size: 15px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(32, 167, 91, 0.22);
}

.recipe-detail .bottom-actions button {
    flex: 1;
    height: 52px;
    border-radius: 16px;
    font-weight: 800;
    font-size: 15px;
    cursor: pointer;
}

.recipe-detail .outline-btn {
    border: 1px solid #ddd;
    background: #fff;
}

.recipe-detail .main-btn {
    border: none;
    background: #4caf50;
    color: #fff;
}

.recipe-detail .cart-btn {
    height: 30px;
    padding: 0 12px;

    border: none;
    border-radius: 999px;

    background: #fff3e8;
    color: #ff7a33;

    font-size: 12px;
    font-weight: 700;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    transition: all .18s ease;
}

.recipe-detail .cart-btn:hover {
    background: #ff7a33;
    color: #fff;

    transform: translateY(-1px);
}

.recipe-detail .cart-btn:active {
    transform: scale(0.96);
}

.recipe-detail .like-btn {
    height: 38px;
    padding: 0 16px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;

    border: none;
    border-radius: 999px;

    background: #fff;
    color: #ff5c7a;

    font-size: 13px;
    font-weight: 800;

    box-shadow: 0 8px 18px rgba(255, 92, 122, 0.22);
    cursor: pointer;

    transition: 0.18s ease;
}

.recipe-detail .like-btn:active {
    transform: scale(0.94);
}

.recipe-detail .like-btn span {
    font-size: 15px;
}

.recipe-detail .like-btn em {
    font-style: normal;
    color: #222;
}

.payment-card-manager .register-card-btn {
    width: 100%;
    height: 56px;

    border: none;
    border-radius: 18px;

    background: linear-gradient(135deg, #7C4DFF, #5E35B1);
    color: #fff;

    font-size: 16px;
    font-weight: 700;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    cursor: pointer;

    box-shadow: 0 10px 25px rgba(124, 77, 255, 0.25);

    margin-bottom: 22px;
}

.payment-card-manager .register-card-btn span {
    font-size: 22px;
}

.payment-card-manager .card-action button {
    flex: 1;
    height: 42px;

    border: none;
    border-radius: 12px;

    background: rgba(255, 255, 255, 0.14);
    color: #fff;

    font-size: 14px;
    font-weight: 600;

    backdrop-filter: blur(6px);

    cursor: pointer;
}

.payment-card-manager .card-action button.danger {
    background: rgba(255, 80, 80, 0.18);
}

.ingredient-selection .delete-btn {
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: #fff1f1;
    color: #e74c3c;
    font-weight: 800;
    cursor: pointer;
}

.inquiry-form .submit-btn {
    width: 100%;
    height: 52px;
    border: none;
    border-radius: 16px;
    background: #111827;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}

.inquiry-feed .write-btn {
    flex-shrink: 0;
    padding: 8px 12px;
    border-radius: 999px;
    background: #111827;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.dashboard .action-card {
    border: 0;
    border-radius: 22px;
    padding: 15px 13px;
    text-align: left;
    color: #fff;
    min-height: 118px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    box-shadow: 0 14px 30px rgba(23, 37, 30, 0.12);
}

.dashboard .action-card::after {
    position: absolute;
    right: -5px;
    bottom: -11px;
    font-size: 54px;
    opacity: 0.35;
}

.dashboard .action-card.fridge {
    background: linear-gradient(135deg, #21ad61, #5bd88c);
}

.dashboard .action-card.fridge::after {
    content: "🥦";
}

.dashboard .action-card.food {
    background: linear-gradient(135deg, #ff9f2f, #ffcd70);
}

.dashboard .action-card.food::after {
    content: "🍜";
}

.dashboard .action-card strong {
    display: block;
    font-size: 20px;
    line-height: 1.3;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.dashboard .action-card span {
    display: block;
    font-size: 12px;
    line-height: 1.45;
    opacity: 0.92;
    max-width: 100%;
    word-break: keep-all;
}

.dashboard .start-btn {
    width: 100%;
    height: 52px;
    border: 0;
    border-radius: 18px;
    background: #20a75b;
    color: #fff;
    font-size: 16px;
    font-weight: 950;
    box-shadow: 0 14px 28px rgba(32, 167, 91, 0.24);
    flex-shrink: 0;
}

@media (max-height: 760px) {
    .dashboard .action-card {
        min-height: 96px;
        padding: 12px;
    }
}

.profile-editor .change-image-btn {
    border: none;
    background: #f5f5f5;
    height: 42px;
    padding: 0 18px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
}

.profile-editor .save-btn {
    width: 100%;
    max-width: 430px;
    height: 56px;
    border: none;
    border-radius: 18px;
    background: #4CAF50;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(76, 175, 80, 0.3);
}

.profile-editor .tag-btn {
    border: none;
    background: #f5f5f5;
    color: #555;
    padding: 10px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.profile-editor .tag-btn.active {
    background: #4CAF50;
    color: #fff;
    box-shadow: 0 6px 14px rgba(76, 175, 80, 0.25);
}

.profile-editor .tag-btn:hover {
    transform: translateY(-2px);
}

.profile-editor .withdraw-btn {
    border: none;
    background: none;
    color: #ff6b6b;
    font-size: 13px;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}

.article-detail .btn-list {
    width: 100%;
    height: 48px;
    border: none;
    border-radius: 14px;
    background: #222;
    color: white;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.recipe-catalog .badge-remove-btn {
    width: 20px;
    height: 20px;

    border: none;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.2);
    color: #fff;

    font-size: 12px;
    font-weight: 800;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    transition: 0.15s;
}

.recipe-catalog .badge-remove-btn:hover {
    background: rgba(255, 255, 255, 0.35);
}

.auth-shell .kakao-login-btn {
    width: 100%;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    border-radius: 18px;

    background: #FEE500;
    color: #191919;

    font-size: 16px;
    font-weight: 900;
    text-decoration: none;

    box-shadow: 0 12px 24px rgba(60, 45, 0, 0.12);

    transition: 0.2s ease;
}

.auth-shell .kakao-login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(60, 45, 0, 0.16);
}

.billing-overview .cancel-btn {
    width: 100%;
    height: 48px;
    margin-top: 18px;
    border: none;
    border-radius: 16px;
    background: white;
    color: #0f766e;
    font-size: 15px;
    font-weight: 800;
}

.billing-overview .receipt-btn {
    width: 100%;
    height: 44px;
    border: none;
    border-radius: 14px;
    background: #f1f5f9;
    color: #334155;
    font-size: 14px;
    font-weight: 700;
}

.pricing-options .plan-card button {
    width: 100%;
    height: 48px;
    border: none;
    border-radius: 14px;
    background: #4CAF50;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.subscribe-modal .cancel-btn,
.subscribe-modal .confirm-btn {
    flex: 1;
    height: 48px;
    border: none;
    border-radius: 15px;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
}

.subscribe-modal .cancel-btn {
    background: #f1f5f9;
    color: #475569;
}

.subscribe-modal .confirm-btn {
    background: #22c55e;
    color: white;
    box-shadow: 0 10px 24px rgba(34, 197, 94, .28);
}

.subscribe-modal .confirm-btn:hover {
    background: #16a34a;
}
