/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  /* Body Styling */
  body {
    font-family: Arial, sans-serif;
    background-color: #f4f7fa;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    padding: 20px;
  }
  
  /* Container Styling */
  h1 {
    font-size: 1.8em;
    color: #333;
    text-align: center;
    margin-bottom: 20px;
  }
  
  .container {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 20px 40px;
    max-width: 500px;
    text-align: center;
  }
  
  p {
    font-size: 0.9em;
    margin-top: 10px;
    line-height: 1.5;
    color: #555;
  }
  
  /* Button Styling */
  button {
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 15px;
  }
  
  button:hover {
    background-color: #0056b3;
  }
  
  button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
  }
  
  /* Results Display */
  span {
    display: block;
    background-color: #f0f8ff;
    padding: 8px;
    border-radius: 5px;
    margin-top: 5px;
    word-wrap: break-word;
    font-size: 0.85em;
    color: #333;
    max-height: 150px;
    overflow-y: auto;
  }
  
  /* Layout Spacing */
  #publicKeyPem, #encryptedMessage, #decryptedMessage {
    margin-top: 10px;
  }
  
  #generateKeyPair, #sendPublicKey, #decryptMessage {
    width: 100%;
  }
  