* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: linear-gradient(135deg, #eef3f8, #d9e8f5);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
}

.card {
    width: 100%;
    max-width: 550px;
    background: white;
    border-radius: 14px;
    padding: 35px;
    box-shadow: 0 10px 35px rgba(0,0,0,.12);
}

h1 {
    text-align: center;
    color: #005fa3;
    margin-bottom: 10px;
}

.subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
}

.tabs {
    display: flex;
    margin-bottom: 25px;
    border-bottom: 1px solid #ddd;
}

.tab {
    flex: 1;
    border: none;
    background: transparent;
    padding: 14px;
    cursor: pointer;
    font-size: 15px;
    color: #555;
    border-bottom: 3px solid transparent;
    transition: .2s;
}

.tab:hover {
    background: #f7f7f7;
}

.tab.active {
    color: #005fa3;
    border-bottom-color: #005fa3;
    font-weight: bold;
}

.tabcontent {
    animation: fade .2s ease;
}

@keyframes fade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

label {
    display: block;
    margin-top: 18px;
    margin-bottom: 6px;
    font-weight: bold;
}

input[type=text],
input[type=password],
input[type=email] {
    width: 100%;
    padding: 12px;
    border: 1px solid #c8c8c8;
    border-radius: 6px;
    font-size: 15px;
}

input:focus {
    outline: none;
    border-color: #0070ba;
}

.plans {
    margin-top: 12px;
}

.plan {
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: .2s;
}

.plan:hover {
    border-color: #0070ba;
    background: #f7fbff;
}

.plan input {
    transform: scale(1.2);
}

.plan h3 {
    margin-bottom: 4px;
    color: #005fa3;
}

.plan p {
    color: #666;
    font-size: 14px;
}

button {
    width: 100%;
    margin-top: 25px;
    padding: 14px;
    background: #0070ba;
    color: white;
    border: none;
    border-radius: 7px;
    cursor: pointer;
    font-size: 16px;
    transition: .2s;
}

button:hover {
    background: #005fa3;
}

.button {
    display: inline-block;
    width: 100%;
    margin-top: 25px;
    text-align: center;
    text-decoration: none;
    background: #0070ba;
    color: white;
    padding: 14px;
    border-radius: 7px;
}

.button:hover {
    background: #005fa3;
}

.error {
    background: #ffe4e4;
    border: 1px solid #ffaaaa;
    color: #9b0000;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.success {
    background: #e9ffe8;
    border: 1px solid #7ad17a;
    color: #157315;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 20px;
}

@media(max-width:600px) {

    .card {
        padding: 22px;
    }

    .plan {
        flex-direction: column;
        align-items: flex-start;
    }

}