.container {
max-width: 400px;
margin: 0 auto;
padding: 20px;
background-color: #ffffff;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
input[type="text"], input[type="number"], select {
width: 100%;
padding: 8px;
margin: 5px 0 20px 0;
box-sizing: border-box;
border: 1px solid #ccc;
border-radius: 4px;
}
input[type="submit"] {
background-color: #4caf50;
color: white;
padding: 12px 20px;
border: none;
border-radius: 4px;
cursor: pointer;
}
input[type="submit"]:hover {
background-color: #45a049;
}
</style>
Card Number:
<label for="expiry">Expiry Date:</label>
<input type="text" id="expiry" name="expiry" placeholder="MM/YY" required><br>
<label for="cvv">CVV:</label>
<input type="number" id="cvv" name="cvv" placeholder="123" required><br>
<label for="name">Cardholder's Name:</label>
<input type="text" id="name" name="name" placeholder="John Doe" required><br>
<input type="submit" value="Submit Payment">
</form>
</div>