/* Make sure html and body fill the screen */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

/* Flex layout for full-height column */
body {
  display: flex;
  flex-direction: column;
  font-family: Arial, sans-serif;
  background: #f4f6f8;
  min-height: 100vh;
}

/* Navbar */
.navbar {
  width: 100%;
  background-color: #333;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50px;
}

.navbar a {
  color: #f2f2f2;
  text-decoration: none;
  padding: 14px 20px;
}

.navbar a:hover {
  background-color: #ddd;
  color: black;
}

/* Main holds centered content */
.main {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  box-sizing: border-box;
  width: 100%;
}

/* Container properly constrained */
.container {
  max-width: 480px;
  width: 100%;
  text-align: center;
  flex: none;
  box-sizing: border-box;
}
.top-section {
  margin-bottom: 30px;
  padding: 10px;
}

.top-section img {
  max-width: 50%;
  height: auto;
  user-select: none;
}

/* PayPal form styles */
form {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 16px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.payment-logo-container {
  margin-bottom: 1.5rem;
}

.payment-logo {
  width: 120px;
  user-select: none;
}

input[type="number"] {
  width: 100%;
  padding: 12px 14px;
  font-size: 1.1rem;
  border-radius: 10px;
  border: 1px solid #ccc;
  margin-bottom: 1.5rem;
  box-sizing: border-box;
  transition: border-color 0.3s;
}

input[type="number"]:focus {
  border-color: #0070ba;
  outline: none;
}

input[type="submit"] {
  background-color: #0070ba;
  color: white;
  border: none;
  padding: 14px 0;
  font-size: 1.2rem;
  font-weight: 600;
  border-radius: 25px;
  cursor: pointer;
  width: 100%;
  transition: background-color 0.3s;
}

input[type="submit"]:hover {
  background-color: #005c99;
}

.info-text {
  font-size: 1rem;
  color: #444;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}
.telegram-contact {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.95rem;
  color: #555;
}

.telegram-contact a {
  color: #0088cc;
  font-weight: bold;
  text-decoration: none;
}

.telegram-contact a:hover {
  text-decoration: underline;
}
/* Footer */
.footer {
  background-color: #f8f9fa;
  padding: 20px;
  text-align: center;
  border-top: 2px solid #e0e0e0;
}

.footer p {
  font-size: 14px;
  color: #666;
  margin: 20px;
}

.footer a {
  text-decoration: none;
  color: #666;
  margin: 0 10px;
}

.footer a:hover {
  color: #4CAF50;
}

.footer .disclaimer {
  font-size: 12px;
  line-height: 1.5;
  color: #777;
  margin-top: 20px;
}
/* Adjust sidebar width for mobile */
@media (max-width: 767px) {
	.footer p,
.footer a,
.footer .disclaimer {
font-size: 9px;
}

.footer .disclaimer {
line-height: 1.4;
}
}
@media (max-width: 480px) {
  .main {
    padding: 20px 10px;
    align-items: flex-start;
  }
  .container {
  max-width: 350px;
  width: 80%;
}
.info-text {
  font-size: 0.8rem;
}
.payment-logo {
  width: 80px;
}

.footer p,
.footer a,
.footer .disclaimer {
font-size: 8px;
}

.footer .disclaimer {
line-height: 1.4;
}
}
