body {
  padding: 30px 50px;
  font: 14px "Lucida Grande", Helvetica, Arial, sans-serif;
}

div.logo {
  margin-bottom: 25px;
}

a {
  color: #2188e0;
}

a img {
  border: none;
}

h1 {
  padding: 0;
  margin: 25px 0 20px;
}

h2 {
  padding: 0;
  margin: 25px 0 15px;
  font-size: 1.4em;
}

h2 a {
  color: inherit;
}

p {
  width: 700px;
  margin: 15px 0;
  line-height: 1.4;
}

ol li {
  padding: 0 0 8px;
}

.error {
  margin-top: 25px;
}
.error b {
  color: #E15D57;
}

.success {
  margin-top: 25px;
}
.success b {
  color: #4CAF31;
}

form, #response, .plan-info {
  margin: 30px 0 35px;
  border: 1px dashed #cecece;
  padding: 15px;
  width: 260px;
}

#response {
  width: 350px;
  display: none;
}

.email { 
  font-size: 14px;
  width: 250px;
  margin: 10px 0;
}

.submit {
  font-size: 1.2em;
}

.info {
  margin-top: 50px;
  border-top: 1px solid #cecece;
  padding-top: 15px;
  width: 710px;
}
.info h3 {
  font-size: 1.2em;
  padding: 0;
  margin: 0 0 10px;
}
.info p {
  margin: 0;
  padding: 0;
}

.plan-info label {
  display: inline-block;
  width: 115px;
}

.split {
  width: 800px;
  clear: both;
  overflow: auto;
}

.split-box {
  float: left;
  width: 400px;
}

.orgs-title {
  font-size: 1.5em;
}

.org-info {
  margin: 0 0 30px;
  border-left: 3px solid #dddddd;
  padding-left: 10px;
  padding-bottom: 8px;
  line-height: 1.4;
}

.org-name b {
  font-size: 1.2em;
}

.org-current {
  margin: 5px 0;
}

.use-plan, .use-plan-disabled {
  display: inline-block;
  background-color: #4CAF31;
  color: #fff;
  font-size: 1em;
  padding: 4px 12px;
  margin: 6px 0 0;
  line-height: 1.3;
  text-decoration: none;
}
.use-plan:hover {
  background-color: #57CA38;
}
.use-plan:active {
  background-color: #45A02C; 
}

.use-plan-disabled {
  background-color: #bbb;
}

.members-exceeded {
  background-color: #ffefef;
  padding: 0 5px 13px 13px;
  width: 680px;
  margin: 15px 0;
}
.members-exceeded p {
  width: auto;
  margin: 0;
  padding: 15px 0 0;
}

.members-info {
  display: block;
  margin-top: 8px;
  font-size: .85em;
  line-height: 1.2;
}

.subtle {
  color: #999;
}

.alert {
  background: url(../images/alert.png) 0 45% no-repeat;
  padding: 8px 0 10px 23px;
}

.forgot-password {
  font-size: .9em;
  float: right;
  margin: 3px 4px;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logout {
  margin-left: auto;
}

.dashboard {
  padding: 2em 0;
}

.storage {
  width: 300px;
  padding: 5px;
  margin: 10px 0;
  font-size: 14px;
}

#storage-form {
  border: none;
  padding: 0;
  margin: 20px 0;
  width: auto;
}

form.mailbox-form {
  width: 100%;
  max-width: 400px; 
}

.mailbox-group {
  display: flex;
  align-items: center;
  margin: 0 0 15px;
}

.mailbox {
  width: 130px;
  padding: 5px;
  font-size: 14px;
}

.mailbox-domain {
  font-size: 14px;
  margin-left: 5px;
}

.infobox {
  background-color: #f0f0f0;
  padding: 1px 20px;
  margin: 20px 0 0;
  max-width: 800px;
  line-height: 1.4;
}

.copy-link {
  font-size: 0.9em;
  text-decoration: none;
  color: #2188e0;
  cursor: pointer;
}

.copy-link:hover {
  text-decoration: underline;
}

.error-details {
  font-family: monospace;
  background: #f8f8f8;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 3px;
  overflow: auto;
  font-size: 13px;
  line-height: 1.4;
  max-width: 900px;
}

.error-technical {
  color: #666;
  font-size: 12px;
  margin-top: 10px;
}

/* Dashboard Navigation */
.dashboard-nav {
  margin: 20px 0;
  border-bottom: 1px solid #ddd;
  max-width: 900px;
}

.nav-link {
  display: inline-block;
  padding: 8px 15px;
  margin-right: 5px;
  text-decoration: none;
  color: #333;
  border: 1px solid transparent;
  border-bottom: none;
  border-radius: 4px 4px 0 0;
}

.nav-link:hover {
  background-color: #f5f5f5;
}

.nav-link.active {
  border-color: #ddd;
  background-color: white;
  border-bottom: 1px solid white;
  margin-bottom: -1px;
  font-weight: bold;
}

/* SMTP Settings Page */
.smtp-settings {
  margin-top: 20px;
}

.settings-box {
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 0 15px 15px;
  margin: 20px 0;
  max-width: 600px;
}

.settings-table {
  width: 100%;
  border-collapse: collapse;
}

.settings-table td {
  padding: 8px;
  border-bottom: 1px solid #eee;
}

.setting-label {
  font-weight: bold;
  width: 30%;
}

.settings-image {
  margin: 40px 0;
}

.settings-image img {
  max-width: 100%;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.settings-image p {
  margin-top: 10px;
  font-style: italic;
  color: #666;
}

.instructions {
  margin: 20px 0;
}