/* Base - WebTopup Theme */

body,
body *:not(html):not(style):not(br):not(tr):not(code) {
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif,
        'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
    position: relative;
}

body {
    -webkit-text-size-adjust: none;
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 50%, #6ee7b7 100%);
    color: #1f2937;
    height: 100%;
    line-height: 1.4;
    margin: 0;
    padding: 0;
    width: 100% !important;
}

p,
ul,
ol,
blockquote {
    line-height: 1.6;
    text-align: left;
}

a {
    color: #10b981;
    text-decoration: none;
}

a:hover {
    color: #059669;
}

a img {
    border: none;
}

/* Typography */

h1 {
    color: #1f2937;
    font-size: 24px;
    font-weight: 700;
    margin-top: 0;
    text-align: left;
}

h2 {
    font-size: 20px;
    font-weight: 600;
    margin-top: 0;
    text-align: left;
    color: #374151;
}

h3 {
    font-size: 16px;
    font-weight: 600;
    margin-top: 0;
    text-align: left;
    color: #4b5563;
}

p {
    font-size: 15px;
    line-height: 1.6em;
    margin-top: 0;
    text-align: left;
    color: #374151;
}

p.sub {
    font-size: 13px;
    color: #6b7280;
}

img {
    max-width: 100%;
}

/* Layout */

.wrapper {
    -premailer-cellpadding: 0;
    -premailer-cellspacing: 0;
    -premailer-width: 100%;
    background-color: transparent;
    margin: 0;
    padding: 0;
    width: 100%;
}

.content {
    -premailer-cellpadding: 0;
    -premailer-cellspacing: 0;
    -premailer-width: 100%;
    margin: 0;
    padding: 0;
    width: 100%;
}

/* Header */

.header {
    padding: 25px 0;
    text-align: center;
}

.header a {
    color: #10b981;
    font-size: 28px;
    font-weight: 800;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Body */

.body {
    -premailer-cellpadding: 0;
    -premailer-cellspacing: 0;
    -premailer-width: 100%;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    padding: 0;
    width: 570px;
    max-width: 570px;
}

.inner-body {
    -premailer-cellpadding: 0;
    -premailer-cellspacing: 0;
    -premailer-width: 570px;
    background-color: #ffffff;
    border-radius: 12px;
    margin: 0 auto;
    padding: 32px;
    width: 570px;
}

/* Subcopy */

.subcopy {
    border-top: 1px solid #e5e7eb;
    margin-top: 25px;
    padding-top: 25px;
}

.subcopy p {
    font-size: 13px;
    color: #6b7280;
}

/* Footer */

.footer {
    -premailer-cellpadding: 0;
    -premailer-cellspacing: 0;
    -premailer-width: 570px;
    margin: 0 auto;
    padding: 32px;
    text-align: center;
    width: 570px;
}

.footer p {
    color: #374151;
    font-size: 13px;
    text-align: center;
}

.footer a {
    color: #10b981;
    text-decoration: underline;
}

/* Tables */

.table table {
    -premailer-cellpadding: 0;
    -premailer-cellspacing: 0;
    -premailer-width: 100%;
    margin: 30px auto;
    width: 100%;
}

.table th {
    border-bottom: 1px solid #e5e7eb;
    margin: 0;
    padding-bottom: 8px;
}

.table td {
    color: #374151;
    font-size: 15px;
    line-height: 18px;
    margin: 0;
    padding: 10px 0;
}

.content-cell {
    max-width: 100vw;
    padding: 32px;
}

/* Buttons */

.action {
    -premailer-cellpadding: 0;
    -premailer-cellspacing: 0;
    -premailer-width: 100%;
    margin: 30px auto;
    padding: 0;
    text-align: center;
    width: 100%;
}

.button {
    -webkit-text-size-adjust: none;
    border-radius: 8px;
    color: #fff;
    display: inline-block;
    overflow: hidden;
    text-decoration: none;
}

.button-primary {
    background-color: #10b981;
    border: 2px solid #10b981;
    padding: 14px 32px;
    font-weight: 600;
    font-size: 16px;
}

.button-primary:hover {
    background-color: #059669;
    border-color: #059669;
}

.button-success {
    background-color: #10b981;
    border-bottom: 8px solid #059669;
    border-left: 18px solid #10b981;
    border-right: 18px solid #10b981;
    border-top: 8px solid #10b981;
}

.button-error {
    background-color: #ef4444;
    border-bottom: 8px solid #dc2626;
    border-left: 18px solid #ef4444;
    border-right: 18px solid #ef4444;
    border-top: 8px solid #ef4444;
}

/* Panels */

.panel {
    border-left: 4px solid #10b981;
    margin: 21px 0;
}

.panel-content {
    background-color: #f0fdf4;
    color: #374151;
    padding: 16px;
    border-radius: 4px;
}

.panel-content p {
    color: #374151;
}

.panel-item {
    padding: 0;
}

.panel-item p:last-of-type {
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Utilities */

.break-all {
    word-break: break-all;
}

/* Logo styling */
.logo {
    font-size: 32px;
    display: inline-block;
    vertical-align: middle;
}

.brand-name {
    color: #10b981;
    font-weight: 800;
    margin-left: 8px;
}

/* Alert boxes */
.alert {
    padding: 16px;
    border-radius: 8px;
    margin: 20px 0;
}

.alert-warning {
    background-color: #fef3c7;
    border-left: 4px solid #f59e0b;
    color: #92400e;
}

.alert-info {
    background-color: #dbeafe;
    border-left: 4px solid #3b82f6;
    color: #1e3a8a;
}

/* Security notice */
.security-notice {
    background-color: #f3f4f6;
    border-radius: 8px;
    padding: 16px;
    margin: 20px 0;
    border-left: 4px solid #6b7280;
}

.security-notice p {
    font-size: 14px;
    color: #4b5563;
    margin: 0;
}
