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

body {
    font-family: system-ui, sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
}

.container {
    padding: 20px;
    width: 100%;
    max-width: 420px;
}

.card-form {
    background: #fff;
    padding: 36px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

h2 {
    color: #1a1a1a;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 28px;
}

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

label {
    display: block;
    color: #1a1a1a;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 8px;
}

input {
    width: 100%;
    padding: 12px 14px;
    font-size: 1rem;
    border: 2px solid #e5e5e5;
    border-radius: 10px;
    outline: none;
    transition: border-color 0.2s ease;
}

input:focus {
    border-color: #1a1a1a;
}

input::placeholder {
    color: #bbb;
}

.input-wrapper {
    position: relative;
}

.input-wrapper i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 18px;
}

.input-wrapper input {
    padding-left: 44px;
    padding-right: 50px;
}

.row {
    display: flex;
    gap: 16px;
}

.row .input-group {
    flex: 1;
}

.submit-btn {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
    font-weight: 500;
    background-color: #1a1a1a;
    color: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    margin-top: 8px;
}

.submit-btn:hover {
    background-color: #333;
}

/* Success Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.modal-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.modal {
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    max-width: 320px;
    width: 90%;
}

.modal-icon {
    width: 60px;
    height: 60px;
    background-color: #22c55e;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 20px;
}

.modal h3 {
    color: #1a1a1a;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.modal p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.modal-btn {
    padding: 12px 40px;
    font-size: 1rem;
    font-weight: 500;
    background-color: #1a1a1a;
    color: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.modal-btn:hover {
    background-color: #333;
}

@media (max-width: 480px) {
    .card-form {
        padding: 28px 20px;
    }

    .row {
        gap: 12px;
    }
}
