* { margin: 0; padding: 0; box-sizing: border-box; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; } body { background-color: #f8f9fa; min-height: 100vh; display: flex; flex-direction: column; } .header { display: flex; justify-content: center; align-items: center; padding: 20px; max-width: 1200px; margin: 0 auto; width: 100%; position: relative; } .logo { text-align: center; } .logo a { display: inline-block; text-decoration: none; } .logo-image { width: 180px; height: 40px; object-fit: contain; } .language-selector { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: #333; font-size: 14px; cursor: pointer; } .main-content { flex: 1; display: flex; justify-content: center; align-items: center; padding: 20px; } .checkout-card { background: white; border-radius: 12px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); padding: 40px; width: 100%; max-width: 480px; } .checkout-title { font-size: 24px; font-weight: 600; margin-bottom: 20px; color: #333; text-align: center; line-height: 1.4; } .card-types { display: flex; justify-content: center; gap: 15px; margin-bottom: 30px; } .card-types i { font-size: 30px; color: #888; } .checkout-form { display: flex; flex-direction: column; gap: 24px; } .input-group { display: flex; flex-direction: column; } .input-label { color: #666; font-size: 14px; margin-bottom: 8px; font-weight: 500; } .input-wrapper { position: relative; } .input-field { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 8px; font-size: 16px; transition: all 0.3s ease; } .input-field:focus { outline: none; border-color: #4285F4; box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.2); } .card-icons { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 32px; /* Width of a single icon */ height: 24px; /* Height of the icons */ overflow: hidden; opacity: 0; /* Initially hide all icons */ transition: opacity 0.3s ease; /* Smooth transition for showing/hiding */ } .card-icons i { position: absolute; right: 0; font-size: 24px; transition: opacity 0.3s ease, transform 0.3s ease; } .card-icons .fa-cc-visa { color: #1A1F71; } .card-icons .fa-cc-mastercard { color: #EB001B; } .form-row { display: flex; gap: 20px; } .form-row .input-group { flex: 1; } .submit-button { width: 100%; padding: 14px; background-color: #4285F4; color: white; border: none; border-radius: 8px; font-size: 16px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; } .submit-button:hover { background-color: #3367d6; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(66, 133, 244, 0.2); } .footer { text-align: center; padding: 20px; color: #666; font-size: 12px; } .footer-links { margin-bottom: 16px; } .footer-link { color: #4285F4; text-decoration: none; margin: 0 10px; transition: color 0.3s ease; } .footer-link:hover { color: #3367d6; } .copyright { color: #999; font-size: 11px; max-width: 800px; margin: 0 auto; line-height: 1.5; } /* Responsive styles */ @media (max-width: 768px) { .header { flex-direction: column; } .language-selector { position: static; margin-top: 10px; transform: none; } .checkout-card { padding: 30px; } .checkout-title { font-size: 22px; } .footer-links { display: flex; flex-direction: column; align-items: center; } .footer-link { margin: 5px 0; } } @media (max-width: 480px) { .checkout-card { padding: 20px; } .checkout-title { font-size: 20px; } .input-field { font-size: 14px; } .submit-button { font-size: 14px; } .form-row { flex-direction: column; gap: 24px; } .card-types { gap: 10px; } .card-types i { font-size: 24px; } }