/* MyTokenWallet Paymail Portal Styles */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

header {
    text-align: center;
    margin-bottom: 40px;
}

h1 {
    color: #667eea;
    font-size: 42px;
    margin-bottom: 10px;
}

.tagline {
    color: #666;
    font-size: 18px;
}

.hero-section {
    background: white;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 30px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.hero-section h2 {
    color: #667eea;
    margin-bottom: 20px;
}

.paymail-example {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 24px 0;
}

.paymail-example input {
    background: white;
    border: 2px solid #667eea;
    padding: 16px 20px;
    font-size: 24px;
    font-weight: 600;
    border-radius: 8px;
    text-align: right;
    min-width: 200px;
}

.paymail-example .domain {
    font-size: 24px;
    font-weight: 600;
    color: #667eea;
}

.hero-description {
    color: #666;
    font-size: 18px;
    margin-top: 15px;
}

.registration-section {
    background: white;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid #e0e0e0;
}

.tab-btn {
    padding: 12px 24px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: #666;
    transition: all 0.3s;
}

.tab-btn:hover {
    color: #667eea;
}

.tab-btn.active {
    color: #667eea;
    border-bottom-color: #667eea;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.paymail-form {
    max-width: 600px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
}

.form-group small {
    display: block;
    margin-top: 6px;
    color: #666;
    font-size: 14px;
}

.input-with-domain {
    display: flex;
    align-items: center;
    gap: 8px;
}

.input-with-domain input {
    flex: 1;
}

.domain-suffix {
    color: #667eea;
    font-weight: 600;
    font-size: 16px;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 14px 32px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.result-message {
    margin-top: 20px;
    padding: 16px 20px;
    border-radius: 8px;
    font-size: 15px;
    line-height: 1.6;
}

.result-message.success {
    background: #d4edda;
    border: 2px solid #28a745;
    color: #155724;
}

.result-message.error {
    background: #f8d7da;
    border: 2px solid #dc3545;
    color: #721c24;
}

.result-message.info {
    background: #d1ecf1;
    border: 2px solid #17a2b8;
    color: #0c5460;
}

.info-section {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.info-section h2 {
    color: #667eea;
    margin-bottom: 20px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.feature {
    text-align: center;
    padding: 24px;
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.feature h3 {
    color: #667eea;
    margin-bottom: 12px;
}

.feature p {
    color: #666;
}

.supported-services {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.supported-services li {
    padding: 12px 16px;
    background: #f8f9fa;
    border-radius: 6px;
    font-weight: 500;
}

footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 2px solid #e0e0e0;
    color: #666;
}

footer a {
    color: #667eea;
    text-decoration: none;
    margin: 0 10px;
}

footer a:hover {
    text-decoration: underline;
}

.footer-links {
    margin-top: 10px;
}

@media (max-width: 768px) {
    .container {
        padding: 20px;
    }

    h1 {
        font-size: 32px;
    }

    .paymail-example {
        flex-direction: column;
        gap: 8px;
    }

    .paymail-example input,
    .paymail-example .domain {
        font-size: 20px;
    }

    .input-with-domain {
        flex-direction: column;
        align-items: stretch;
    }

    .tabs {
        flex-direction: column;
    }
}
