.dns-email-checker-container {
max-width: 800px;
margin: 0 auto;
padding: 20px;
background: #fff;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.dns-checker-title {
text-align: center;
margin-bottom: 25px;
color: #333;
font-size: 24px;
}
.dns-checker-form {
margin-bottom: 30px;
}
.form-group {
margin-bottom: 20px;
}
.form-group label {
display: block;
margin-bottom: 8px;
font-weight: 600;
color: #555;
}
.form-group input[type="text"],
.form-group input[type="number"] {
width: 100%;
max-width: 400px;
padding: 12px 15px;
border: 2px solid #ddd;
border-radius: 5px;
font-size: 16px;
transition: border-color 0.3s ease;
}
.form-group input[type="text"]:focus,
.form-group input[type="number"]:focus {
outline: none;
border-color: #2271b1;
box-shadow: 0 0 0 3px rgba(34, 113, 177, 0.1);
}
.captcha-group label {
display: flex;
align-items: center;
gap: 10px;
}
.captcha-question {
background: #f0f8ff;
padding: 5px 10px;
border-radius: 4px;
font-family: monospace;
font-weight: bold;
color: #2271b1;
border: 1px solid #2271b1;
}
.captcha-input-group {
display: flex;
align-items: center;
gap: 10px;
}
.captcha-input-group input {
max-width: 100px;
}
#refresh-captcha {
background: none;
border: 2px solid #ddd;
border-radius: 5px;
padding: 8px 12px;
cursor: pointer;
font-size: 16px;
transition: all 0.3s ease;
}
#refresh-captcha:hover {
background: #f5f5f5;
border-color: #2271b1;
}
.dns-checker-submit {
background: linear-gradient(135deg, #2271b1, #1a5a8a);
color: white;
border: none;
padding: 12px 30px;
border-radius: 5px;
font-size: 16px;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
display: flex;
align-items: center;
gap: 10px;
}
.dns-checker-submit:hover {
background: linear-gradient(135deg, #1a5a8a, #2271b1);
transform: translateY(-2px);
box-shadow: 0 4px 15px rgba(34, 113, 177, 0.3);
}
.dns-checker-submit:disabled {
background: #ccc;
cursor: not-allowed;
transform: none;
box-shadow: none;
}
.loading-spinner {
animation: spin 1s linear infinite;
}
@keyframes spin {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
} .dns-checker-results {
margin-top: 30px;
animation: fadeIn 0.5s ease-in;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}
.results-header h4 {
background: linear-gradient(135deg, #2271b1, #1a5a8a);
color: white;
padding: 15px 20px;
margin: 0 0 20px 0;
border-radius: 5px 5px 0 0;
font-size: 18px;
}
.domain-name {
font-weight: bold;
text-decoration: underline;
}
.record-section {
margin-bottom: 25px;
border: 1px solid #ddd;
border-radius: 5px;
overflow: hidden;
}
.record-section h5 {
background: #f8f9fa;
margin: 0;
padding: 12px 15px;
border-bottom: 1px solid #ddd;
font-size: 16px;
color: #333;
}
.record-section.found h5 {
background: #d4edda;
color: #155724;
}
.record-section.not-found h5 {
background: #f8d7da;
color: #721c24;
}
.record-content {
padding: 15px;
}
.record-list {
list-style: none;
padding: 0;
margin: 0 0 15px 0;
}
.record-item {
background: #f9f9f9;
margin-bottom: 8px;
padding: 10px;
border-radius: 4px;
border-left: 4px solid #2271b1;
}
.record-item .record-value {
font-family: monospace;
background: white;
padding: 5px 8px;
border-radius: 3px;
word-break: break-all;
margin-top: 5px;
border: 1px solid #ddd;
}
.record-priority {
font-weight: bold;
color: #2271b1;
}
.explanation {
background: #f8f9fa;
padding: 15px;
border-radius: 5px;
margin-top: 15px;
border-left: 4px solid #6c757d;
}
.explanation h6 {
margin: 0 0 8px 0;
color: #495057;
font-weight: 600;
}
.explanation p {
margin: 0 0 10px 0;
line-height: 1.5;
}
.explanation p:last-child {
margin-bottom: 0;
}
.recommendation {
background: #fff3cd;
border: 1px solid #ffeaa7;
padding: 12px;
border-radius: 4px;
margin-top: 10px;
}
.recommendation.success {
background: #d4edda;
border-color: #c3e6cb;
color: #155724;
}
.recommendation.warning {
background: #fff3cd;
border-color: #ffeaa7;
color: #856404;
}
.recommendation.error {
background: #f8d7da;
border-color: #f5c6cb;
color: #721c24;
}
.results-footer {
text-align: center;
margin-top: 20px;
padding-top: 15px;
border-top: 1px solid #ddd;
color: #666;
} .dns-checker-error {
margin-top: 20px;
padding: 15px;
background: #f8d7da;
border: 1px solid #f5c6cb;
border-radius: 5px;
color: #721c24;
}
.error-message {
font-weight: 600;
} @media (max-width: 768px) {
.dns-email-checker-container {
padding: 15px;
margin: 10px;
}
.dns-checker-title {
font-size: 20px;
}
.form-group input[type="text"],
.form-group input[type="number"] {
max-width: 100%;
}
.captcha-input-group {
flex-direction: column;
align-items: stretch;
}
.captcha-input-group input {
max-width: 100%;
}
.record-item .record-value {
font-size: 12px;
}
.results-header h4 {
font-size: 16px;
}
} .form-group input:invalid {
border-color: #dc3545;
}
.form-group input:invalid:focus {
border-color: #dc3545;
box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
} .dns-checker-form.loading input,
.dns-checker-form.loading button {
pointer-events: none;
opacity: 0.7;
}