/* ==== Seite: my-ip ==== */

/* Reset der globalen Karten-Komponente für den Tool-Container */
/* Zusatzregeln für Inline-Styles */
body.page-my-ip .grid-error {
    color: var(--c-danger);
    grid-column: 1 / -1;
    text-align: center;
}

/* Main Card */

body.page-my-ip .card-header {

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

body.page-my-ip .card-header h1, body.page-my-ip .card-header h2 {

            font-size: 2.5em;
            color: var(--c-text);
            margin-bottom: 10px;
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            font-weight: 700;
            letter-spacing: -0.5px;
        
}

body.dark-theme.page-my-ip .card-header h1, body.dark-theme.page-my-ip .card-header h2 {

            color: var(--c-text);
        
}

body.page-my-ip .card-header p {

            color: var(--c-muted);
            font-size: 1.1em;
        
}

body.dark-theme.page-my-ip .card-header p {

            color: var(--c-muted);
        
}

/* Button Group */

body.page-my-ip .btn-group {

            display: flex;
            justify-content: center;
            gap: 15px;
            margin-bottom: 30px;
            flex-wrap: wrap;
        
}

body.page-my-ip .btn {

            padding: 15px 30px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            border: none;
            border-radius: 12px;
            cursor: pointer;
            font-weight: 600;
            font-size: 16px;
            transition: all 0.3s;
            box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
        
}

body.page-my-ip .btn:hover {

            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
        
}

body.page-my-ip .btn.active {

            background: var(--c-accent-2);
            box-shadow: inset 0 2px 5px rgba(0,0,0,0.2);
        
}

body.dark-theme.page-my-ip .btn {

            background-color: var(--c-surface);
            border-color: var(--c-border);
        
}

/* IP Action Buttons & Status */

body.page-my-ip .ip-actions {

            display: flex;
            justify-content: center;
            gap: 12px;
            flex-wrap: wrap;
            margin-top: 20px;
        
}

body.page-my-ip .btn-sm {

            padding: 10px 20px;
            background: var(--c-surface);
            color: var(--c-accent);
            border: 2px solid var(--c-border);
            border-radius: 10px;
            cursor: pointer;
            font-weight: 600;
            font-size: 14px;
            transition: all 0.3s;
        
}

body.page-my-ip .btn-sm:hover {

            background: var(--c-accent);
            color: white;
            border-color: var(--c-accent);
            transform: translateY(-2px);
        
}

body.dark-theme.page-my-ip .btn-sm {

            background: var(--c-surface)00;
            border-color: var(--c-border);
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 0 22px rgba(102, 126, 234, 0.10);
        
}

body.dark-theme.page-my-ip .btn-sm:hover {

            background: var(--c-accent);
            border-color: var(--c-accent);
            color: white;
        
}

body.page-my-ip .ip-status {

            text-align: center;
            margin-top: 10px;
            font-size: 13px;
            color: var(--c-muted);
            min-height: 18px;
        
}

body.dark-theme.page-my-ip .ip-status {

            color: var(--c-muted);
        
}

/* IP Display */

body.page-my-ip .ip-display {

            font-size: 3rem;
            font-weight: 700;
            color: var(--c-accent);
            margin-bottom: 30px;
            text-align: center;
            word-break: break-all;
            font-family: 'Inter', sans-serif;
        
}

body.dark-theme.page-my-ip .ip-display {

            color: var(--c-accent);
        
}

/* Info Grid */

body.page-my-ip .info-grid {

            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
            margin-top: 30px;
        
}

body.page-my-ip .info-item {

            background: var(--c-surface);
            padding: 20px;
            border-radius: 12px;
            border: 2px solid var(--c-border);
            transition: all 0.3s;
        
}

body.dark-theme.page-my-ip .info-item {

            background: var(--c-surface)00;
            border-color: var(--c-border);
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 0 22px rgba(102, 126, 234, 0.10);
        
}

body.page-my-ip .info-item strong {

            display: block;
            font-size: 14px;
            color: var(--c-muted);
            margin-bottom: 8px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        
}

body.dark-theme.page-my-ip .info-item strong {

            color: var(--c-muted);
        
}

body.page-my-ip .info-item span {

            font-size: 1.1rem;
            font-weight: 600;
            color: var(--c-text);
        
}

body.dark-theme.page-my-ip .info-item span {

            color: var(--c-text);
        
}

body.page-my-ip .badge {

            display: inline-block;
            padding: 4px 12px;
            border-radius: 6px;
            font-weight: 600;
            font-size: 13px;
        
}

body.page-my-ip .badge-success {
 background: #e8f5e9; color: var(--c-success); 
}

body.page-my-ip .badge-warning {
 background: var(--c-surface)3e0; color: #ff9800; 
}

body.dark-theme.page-my-ip .badge-success {
 background: #1b3a2a; color: #6ee7a0; 
}

body.dark-theme.page-my-ip .badge-warning {
 background: #3e2715; color: #ffb74d; 
}

/* Speedtest Section */

body.page-my-ip .speedtest-section {

            margin-top: 30px; /* 30px Abstand nach oben zur Info-Section */
            background: white;
            border-radius: 20px;
            padding: 40px;
            box-shadow: 0 20px 60px rgba(0,0,0,0.3);
            margin-bottom: 30px;
        
}

body.dark-theme.page-my-ip .speedtest-section {

            background: var(--c-surface)00;
            color: var(--c-text);
            box-shadow: 0 10px 40px rgba(0,0,0,0.5);
        
}

body.page-my-ip .speedtest-container {

            width: 100%;
            height: 320px;
            border: none;
            border-radius: 16px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            box-shadow: 0 10px 40px rgba(0,0,0,0.1);
        
}

body.dark-theme.page-my-ip .speedtest-container {

            background: var(--c-surface)00;
            box-shadow: none;
        
}

/* Info Section (Tipp) without margin-top and margin-bottom */

body.page-my-ip .info-icon {

            font-size: 24px;
        
}

body.page-my-ip .info-text {

            flex: 1;
            font-size: 14px;
            color: var(--c-accent);
            font-weight: 600;
        
}

body.dark-theme.page-my-ip .info-text {

            color: var(--c-accent);
        
}

/* SEO Section */

/* FAQ Section */

/* Related Tools Section */

/* Back to Top Button */

@media (max-width: 768px) {
body.page-my-ip .ip-display {
 font-size: 2rem; 
}
body.page-my-ip .main-card, body.page-my-ip .speedtest-section {
 padding: 25px; 
}
body.page-my-ip .speedtest-container {
 height: 320px; 
}
}
