:root {
  --primary-color: #FECDCD;  /* Light pink from Figma */
  --text-color: #000000;
  --light-color: #ffffff;
  --error-color: #d93025;
  --success-color: #34a853;
  --border-color: #000000;
}

body {
  font-family: 'Baskerville', serif;
  line-height: 1.5;
  color: var(--text-color);
  background-color: var(--light-color);
  padding: 0;
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* Header Styles */
.payment-header {
  text-align: center;
  margin-bottom: 40px;
}

.logo {
  max-width: 200px;
  margin-bottom: 30px;
}

/* Content Styles */
.payment-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 30px;
  flex: 1;
}

.payment-info {
  text-align: center;
  margin-bottom: 30px;
  font-size: 16px;
}

.payment-info p {
  margin: 0;
}

/* Form Styles */
form {
  width: 100%;
  max-width: 500px;
  margin-bottom: 30px;
}

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

input[type="email"],
input[type="text"] {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  font-family: 'Baskerville', serif;
  font-size: 16px;
  box-sizing: border-box;
}

input[type="email"]:focus,
input[type="text"]:focus {
  outline: none;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  font-size: 12px;
}

input[type="checkbox"] {
  margin-right: 10px;
  margin-top: 2px;
}

label {
  line-height: 1.2;
}

.link {
  color: var(--text-color);
  text-decoration: underline;
}

.btn {
  display: block;
  background-color: var(--primary-color);
  color: var(--text-color);
  border: none;
  padding: 12px 24px;
  font-size: 16px;
  font-family: 'Baskerville', serif;
  cursor: pointer;
  width: 100%;
  text-align: center;
}

.btn:hover {
  opacity: 0.9;
}

.error-message {
  color: var(--error-color);
  font-size: 14px;
  margin-bottom: 15px;
  width: 100%;
  text-align: center;
}

/* Payment Methods */
.payment-methods {
  margin-top: 30px;
  text-align: center;
}

.payment-methods-img {
  max-width: 100%;
  height: auto;
}

/* Footer Styles */
footer {
  margin-top: auto;
  border-top: 1px solid #eee;
  padding-top: 30px;
  width: 100%;
}

.footer-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.contact-info {
  font-size: 10px;
  margin-right: 20px;
  margin-bottom: 20px;
}

.contact-info p {
  margin: 0;
  line-height: 1.4;
}

.social-links {
  margin-bottom: 20px;
}

.social-link {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  font-size: 12px;
}

.social-icon {
  width: 20px;
  height: 20px;
  margin-right: 10px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  font-size: 12px;
}

.footer-links a {
  margin-bottom: 10px;
}

/* Success page styles */
.success-container {
  text-align: center;
}

.success-icon {
  color: var(--success-color);
  font-size: 64px;
  margin-bottom: 20px;
}

.success-title {
  color: var(--success-color);
  margin-bottom: 20px;
}

.payment-details {
  border: 1px solid var(--border-color);
  padding: 20px;
  margin: 20px auto;
  max-width: 400px;
  text-align: left;
}

.payment-details p {
  margin: 10px 0;
}

/* Error page styles */
.error-details {
  margin-top: 30px;
  text-align: center;
}

.error-details p {
  margin-bottom: 20px;
}

.error-details .btn {
  display: inline-block;
  max-width: 250px;
  margin: 0 auto;
}

h2 {
  font-family: 'Baskerville', serif;
  font-weight: normal;
  margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    padding: 20px;
  }
  
  .footer-info {
    flex-direction: column;
    align-items: center;
  }

  .social-links {
    order: 1;
  }

  .footer-links {
    order: 2;
  }

  .contact-info {
    order: 3;
  }
  
  .contact-info, 
  .social-links, 
  .footer-links {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
    margin-bottom: 30px;
  }

  .footer-info > .contact-info {
    margin-bottom: 0;
  }
}

/* Link do formularza płatności na stronach statycznych */
.action-link-container {
  margin-top: 20px;
}
