body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
}

h1 {
    color: white;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.container {
    display: flex;
    gap: 30px;
    /* max-width: 1200px;
    width: 100%; */
    justify-content: center;
    align-items: flex-start;
}

.atm-wrapper {
    /* background-color: white; */
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    flex: 1;
    /* max-width: 650px; */
}

.card-generator {
    background-color: white;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    flex: 1;
    /* max-width: 500px; */
}

.instructions {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 20px;
    border-radius: 12px;
    max-width: 1200px;
    width: 100%;
    margin-top: 25px;
}

.instructions h3 {
    margin-top: 0;
    color: #333;
    border-bottom: 2px solid #764ba2;
    padding-bottom: 10px;
}

.instructions ul {
    padding-left: 25px;
}

.instructions li {
    margin-bottom: 10px;
    line-height: 1.5;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #444;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #667eea;
    outline: none;
}

.btn {
    background: linear-gradient(to right, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    display: block;
    width: 100%;
    margin-top: 10px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn:active {
    transform: translateY(0);
}

.card-preview {
    text-align: center;
    margin-bottom: 25px;
    border: 2px dashed #ddd;
    border-radius: 10px;
    padding: 15px;
}

.card-preview h3 {
    margin-top: 0;
    color: #444;
}

.card-slot {
    position: relative;
    margin-top: 20px;
    text-align: center;
}

.card-slot label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
}

.card-inserted {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.5s ease;
    opacity: 0;
}

.card-inserted.show {
    opacity: 1;
}

@media (max-width: 1024px) {
    .container {
        flex-direction: column;
        align-items: center;
    }

    .atm-wrapper,
    .card-generator {
        max-width: 100%;
        width: 100%;
    }
}