/* Resetting default margins and padding */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f0f0f0;
}

.container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px; /* Enable 3D effect */
    height: 100%; /* Ensure container stretches to full height */
}

.box {
    max-width: 400px;
    width: 100%; /* Adjust width to fit the content */
    padding: 40px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
    transform-style: preserve-3d; /* Maintain 3D transformations */
    transition: transform 0.5s ease;
}

.box:hover {
    transform: rotateY(10deg); /* Example 3D rotation on hover */
}

.header {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.header p {
    margin-bottom: 20px;
}

.header-icon img {
    width: 50px; /* Adjust icon size */
    height: auto;
}

form {
    display: flex;
    flex-direction: column;
}

input[type="email"], input[type="submit"], input[type="button"] {
    padding: 12px; /* Increased padding for better click/touch target */
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.3s ease; /* Smooth transition for border color */
}

input[type="email"]:focus, input[type="email"]:hover,
input[type="submit"]:focus, input[type="submit"]:hover,
input[type="button"]:focus, input[type="button"]:hover {
    border-color: #4CAF50; /* Highlight border on focus or hover */
}

input[type="submit"] {
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

input[type="submit"]:hover {
    background-color: #45a049;
}

input[type="button"] {
    background-color: #ccc;
    color: #333;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

input[type="button"]:hover {
    background-color: #999;
    color: #fff;
}

#successMessage {
    text-align: center;
    margin-top: 20px;
    color: #4CAF50;
    font-weight: bold;
    display: none; /* Initially hidden */
}
