/* Reset and base styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: ‘Segoe UI’, system-ui, -apple-system, sans-serif;
background-color: #ffffff;
color: #334155;
line-height: 1.6;
padding: 20px 0;
}
.email-wrapper {
max-width: 600px;
margin: 0 auto;
background-color: #ffffff;
border: 1px solid #e2e8f0;
border-radius: 8px;
overflow: hidden;
}
.email-header {
padding: 30px 40px;
text-align: center;
border-bottom: 1px solid #e2e8f0;
}
.email-header h1 {
font-size: 24px;
font-weight: 600;
margin-bottom: 8px;
color: #1e293b;
}
.email-header p {
font-size: 15px;
color: #64748b;
}
.email-body {
padding: 40px;
}
.section {
margin-bottom: 32px;
}
.section-title {
display: flex;
align-items: center;
margin-bottom: 16px;
font-weight: 600;
color: #1e293b;
font-size: 18px;
}
.section-title .icon {
margin-right: 10px;
width: 24px;
height: 24px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
font-size: 14px;
}
.alert-section .section-title .icon {
background: #fef3c7;
color: #92400e;
}
.issue-section .section-title .icon {
background: #f1f5f9;
color: #475569;
}
.action-section .section-title .icon {
background: #f0fdf4;
color: #166534;
}
.domain-info {
display: flex;
align-items: center;
padding: 12px 0;
margin-bottom: 16px;
border-bottom: 1px solid #f1f5f9;
}
.domain-info .status {
display: flex;
align-items: center;
margin-right: 12px;
font-weight: 600;
color: #dc2626;
}
.domain-info .status-icon {
margin-right: 6px;
font-size: 18px;
}
.error-box {
background: #f8fafc;
padding: 16px;
border-radius: 6px;
font-family: ‘Courier New’, monospace;
font-size: 14px;
line-height: 1.5;
margin: 16px 0;
border: 1px solid #e2e8f0;
}
.cta-container {
text-align: center;
margin: 32px 0;
}
.cta-button {
display: inline-block;
background: #3b82f6;
color: white;
text-decoration: none;
padding: 14px 32px;
border-radius: 6px;
font-weight: 600;
font-size: 16px;
transition: all 0.2s ease;
}
.cta-button:hover {
background: #2563eb;
}
.security-note {
padding: 16px;
border-left: 3px solid #3b82f6;
font-size: 14px;
color: #475569;
margin-top: 24px;
}
.email-footer {
padding: 30px 40px;
text-align: center;
font-size: 14px;
color: #64748b;
border-top: 1px solid #e2e8f0;
}
.footer-links {
margin-top: 16px;
}
.footer-links a {
color: #3b82f6;
text-decoration: none;
margin: 0 10px;
}
.footer-links a:hover {
text-decoration: underline;
}
.footer-divider {
margin: 0 8px;
color: #cbd5e1;
}
/* Responsive adjustments */
@media (max-width: 600px) {
.email-header, .email-body, .email-footer {
padding: 25px 20px;
}
.email-header h1 {
font-size: 22px;
}
.cta-button {
display: block;
width: 100%;
}
.domain-info {
flex-direction: column;
align-items: flex-start;
}
.domain-info .status {
margin-bottom: 8px;
}
}
نظرات کاربران