.container-plan {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #0f0f0f;
    color: #f5f5f5;
    font-family: "SourceSans3", sans-serif;
}

.card-plan {
    background: #181818;
    border: 1px solid #2a2a2a;
    border-radius: 16px;
    padding: 32px;
    width: 480px;
    box-shadow: 0 0 24px rgba(0, 0, 0, 0.3);
    transition: 0.3s ease;
}

.card-plan:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.05);
}

.title-plan {
    font-family: "Chillax", sans-serif;
    font-weight: 600;
    margin-bottom: 24px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

/*
label {
    display: block;
    font-size: 14px;
    color: #ccc;
    margin-bottom: 6px;
}

input[type="text"] {
    width: 100%;
    background: #101010;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 10px 14px;
    color: #fff;
    transition: border 0.2s ease;
}

input[type="text"]:focus {
    border-color: #6c63ff;
    outline: none;
}
*/

.btn-add-facilidade {
    background: none;
    border: 1px dashed #db374a;
    color: #a3151b;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 14px;
    cursor: pointer;
    margin-top: 12px;
    transition: all 0.2s;
}

.btn-add-facilidade:hover {
    background: #f02940;
    color: #fff;
}

.facilidade-item {
    display: flex;
    align-items: center;
    background: #111;
    border: 1px solid #222;
    border-radius: 8px;
    padding: 10px;
    margin-top: 10px;
}

.facilidade-item input {
    flex: 1;
    background: none;
    border: none;
    color: #fff;
    font-size: 14px;
    padding: 6px;
}

.facilidade-item input:focus {
    outline: none;
}

.btn-remove-facilidade {
    background: none;
    border: none;
    color: #ff4d4d;
    font-size: 20px;
    cursor: pointer;
    padding: 4px;
    transition: transform 0.2s;
}

.btn-remove-facilidade:hover {
    transform: scale(1.1);
}

.btn-save-plan {
    background: linear-gradient(90deg, #a3151b, #DD1D25);
    border: none;
    color: #fff;
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    margin-top: 24px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-save-plan:hover {
    background: linear-gradient(90deg, #f02940, #fc3a51);
}

.no-plan {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    text-align: center;
}

.no-plan-content {
    background: rgba(24, 24, 24, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    backdrop-filter: blur(12px);
    padding: 70px 50px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
    max-width: 520px;
    animation: fadeInUp 0.6s ease-out;
}

.no-plan-title {
    font-family: "Chillax", sans-serif;
    font-weight: 600;
    font-size: 26px;
    color: #ffffff;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.no-plan-text {
    color: #bbbbbb;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 32px;
    font-family: "SourceSans3", sans-serif;
}

/* animação sutil de entrada */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.container-plan {
    min-height: 100vh;
    padding: 60px 40px;
    background: radial-gradient(circle at top left, #161616, #0b0b0b);
    color: #f5f5f5;
    font-family: "SourceSans3", sans-serif;
}

.header-plan-list {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.title-plan {
    font-family: "Chillax", sans-serif;
    font-weight: 600;
    font-size: 28px;
    color: #fff;
    letter-spacing: 0.5px;
}

.btn-new-plan {
    background: linear-gradient(90deg, #a3151b, #DD1D25);
    color: #fff;
    border-radius: 10px;
    padding: 10px 18px;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 0 8px rgba(221, 29, 37, 0.4);
}

.btn-new-plan:hover {
    background: linear-gradient(90deg, #f02940, #fc3a51);
    box-shadow: 0 0 14px rgba(255, 80, 90, 0.6);
}

.btn-new-plan.big {
    padding: 14px 22px;
    font-size: 16px;
}

/* Cards grid */
.plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.plan-card {
    background: #181818;
    border: 1px solid #292929;
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
    box-shadow: 0 0 18px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.plan-card:hover {
    transform: translateY(-6px);
    border-color: #a3151b;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.2);
}

.plan-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 14px;
}

.plan-name {
    font-family: "Chillax", sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: #fff;
}

.plan-price {
    background: linear-gradient(90deg, #a3151b, #DD1D25);
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
}

.plan-facilidades {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 16px 0;
}

.facilidade-badge {
    background: #222;
    color: #fff;
    border-radius: 12px;
    padding: 6px 10px;
    font-size: 13px;
    transition: all 0.2s ease;
}

.facilidade-badge:hover {
    background: #a3151b;
}

/* Actions */
.plan-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.btn-edit, .btn-delete {
    border: none;
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
}

.btn-edit {
    background: #303030;
    color: #e2e2e2;
}

.btn-edit:hover {
    background: #444;
}

.btn-delete {
    background: #a3151b;
    color: #fff;
}

.btn-delete:hover {
    background: #dd1d25;
}

/* Nenhum plano */
.no-plan {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
}

.no-plan-content {
    text-align: center;
    background: rgba(24, 24, 24, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    padding: 60px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.4);
}

.no-plan-content h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #f5f5f5;
}

.no-plan-content p {
    color: #bbb;
    margin-bottom: 20px;
}

.container-plan {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    background: #0f0f0f;
    min-height: 100vh;
    color: #fff;
    font-family: "SourceSans3", sans-serif;
}

/* Cabeçalho */
.header-plan-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 40px;
}

.title-plan {
    font-family: "Chillax", sans-serif;
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(90deg, #fff, #ddd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-new-plan {
    background: linear-gradient(90deg, #DD1D25, #f02940);
    padding: 10px 22px;
    border-radius: 50px;
    color: #fff;
    font-size: 0.95rem;
    text-decoration: none;
    font-weight: 500;
    box-shadow: 0 4px 10px rgba(221, 29, 37, 0.3);
    transition: all 0.25s ease;
}

.btn-new-plan:hover {
    filter: brightness(1.15);
    transform: translateY(-2px);
}

/* Grade de planos */
.plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    width: 100%;
    max-width: 1000px;
}

/* Card individual */
.plan-card {
    background: linear-gradient(180deg, #151515, #101010);
    border: 1px solid #222;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    overflow: hidden;
}

.plan-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 24px rgba(255, 255, 255, 0.05);
}

/* Cabeçalho do card */
.plan-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.plan-name {
    font-family: "Chillax", sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    text-transform: lowercase;
}

.plan-price {
    background: #DD1D25;
    color: #fff;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(221, 29, 37, 0.4);
}

/* Facilidades */
.plan-facilidades {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.facilidade-badge {
    background: #1e1e1e;
    border: 1px solid #2c2c2c;
    color: #ccc;
    font-size: 0.8rem;
    padding: 6px 10px;
    border-radius: 6px;
}

/* Ações */
.plan-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.btn-edit,
.btn-delete {
    border: none;
    border-radius: 6px;
    padding: 8px 14px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-edit {
    background: #333;
    color: #f1f1f1;
}

.btn-edit:hover {
    background: #444;
}

.btn-delete {
    background: #DD1D25;
    color: #fff;
}

.btn-delete:hover {
    background: #f02940;
}

/*Upgrade*/
.upgrade-plans-section {
    padding: 50px 20px;
    background: #0D0D0D;
}

.upgrade-plans-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.upgrade-plans-title {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.upgrade-plans-subtitle {
    font-size: 18px;
    color: #B3B3B3;
    margin-bottom: 40px;
}

.upgrade-plans-grid {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.upgrade-plan-card {
    background: #1A1A1A;
    border-radius: 14px;
    padding: 30px 25px;
    box-shadow: 0px 4px 20px rgba(0,0,0,0.45);
    border: 1px solid rgba(255,255,255,0.08);
    transition: all .25s ease;
}

.upgrade-plan-card:hover {
    transform: translateY(-6px);
    box-shadow: 0px 12px 30px rgba(0,0,0,0.65);
    border-color: rgba(255,255,255,0.18);
}

.upgrade-plan-header {
    margin-bottom: 20px;
}

.upgrade-plan-name {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.upgrade-plan-price {
    font-size: 28px;
    font-weight: 700;
    color: #D7263D;
}

.upgrade-plan-features {
    list-style: none;
    padding: 0;
    margin: 25px 0;
    text-align: left;
}

.upgrade-plan-feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 15px;
    color: #E5E5E5;
}

.upgrade-plan-feature-icon {
    color: #D7263D;
    margin-right: 8px;
    font-size: 17px;
}

.upgrade-plan-form {
    margin-top: 20px;
}

.upgrade-plan-button {
    width: 100%;
    padding: 12px 0;
    background: #D7263D;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: background .25s ease, transform .15s ease;
}

.upgrade-plan-button:hover {
    background: #F13C52;
    transform: translateY(-3px);
}
