/* Random IP Generator Styles */
.random-ip-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

.random-ip-hero {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    color: white;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.random-ip-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.random-ip-hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

.random-ip-generator {
    display: flex;
    flex-direction: column;
    gap: 30px;
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

.random-ip-input-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.random-ip-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.random-ip-controls label {
    font-weight: 600;
    color: #555;
}

.random-ip-controls input {
    padding: 10px 15px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    width: 80px;
    text-align: center;
}

.random-ip-btn {
    background: #4a6cf7;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.random-ip-btn:hover {
    background: #3a5ce4;
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(74, 108, 247, 0.3);
}

.random-ip-output-section {
    border: 2px dashed #eee;
    border-radius: 8px;
    padding: 20px;
}

.random-ip-result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.random-ip-result-header h3 {
    color: #444;
    font-size: 1.3rem;
}

.random-ip-copy-btn {
    background: #28a745;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.random-ip-copy-btn:hover {
    background: #218838;
}

.random-ip-results {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-family: 'Courier New', Courier, monospace;
    background: #f9f9f9;
    padding: 15px;
    border-radius: 5px;
    max-height: 300px;
    overflow-y: auto;
}

.random-ip-results div {
    padding: 8px 12px;
    background: white;
    border-radius: 4px;
    border-left: 4px solid #4a6cf7;
    display: flex;
    justify-content: space-between;
}

.random-ip-results div span {
    color: #666;
    font-size: 0.9rem;
}

.random-ip-info-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.random-ip-info-box {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.random-ip-info-box:hover {
    transform: translateY(-5px);
}

.random-ip-info-icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

.random-ip-info-box h3 {
    color: #4a6cf7;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.random-ip-info-box p {
    color: #666;
    line-height: 1.6;
}

.random-ip-content {
    margin-bottom: 40px;
}

.random-ip-content-title {
    color: #333;
    font-size: 2rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.random-ip-content-shape {
    height: 4px;
    width: 80px;
    background: linear-gradient(to right, #6e8efb, #a777e3);
    margin-bottom: 25px;
    border-radius: 2px;
}

.random-ip-content-shape.small {
    width: 50px;
    margin-bottom: 15px;
}

.random-ip-content-text {
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.random-ip-content-subtitle {
    color: #444;
    font-size: 1.5rem;
    margin: 30px 0 15px;
}

.random-ip-content-list {
    padding-left: 20px;
    color: #555;
    line-height: 1.7;
    font-size: 1.1rem;
}

.random-ip-content-list li {
    margin-bottom: 10px;
}

.random-ip-related-tool {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    margin-top: 40px;
    text-align: center;
}

.random-ip-related-tool h3 {
    color: #444;
    margin-bottom: 10px;
}

.random-ip-related-link {
    color: #4a6cf7;
    font-weight: 600;
    text-decoration: none;
}

.random-ip-related-link:hover {
    text-decoration: underline;
}

.random-ip-faq {
    margin-bottom: 50px;
}

.random-ip-faq-title {
    color: #333;
    font-size: 2rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.random-ip-faq-shape {
    height: 4px;
    width: 80px;
    background: linear-gradient(to right, #6e8efb, #a777e3);
    margin-bottom: 25px;
    border-radius: 2px;
}

.random-ip-faq-item {
    margin-bottom: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

.random-ip-faq-question {
    width: 100%;
    text-align: left;
    padding: 18px 25px;
    background: #f9f9f9;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: #444;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease;
}

.random-ip-faq-question:hover {
    background: #f0f0f0;
}

.random-ip-faq-icon {
    font-size: 1.3rem;
    font-weight: bold;
}

.random-ip-faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.random-ip-faq-answer p {
    padding: 20px 0;
    color: #555;
    line-height: 1.7;
}

.random-ip-faq-item.active .random-ip-faq-answer {
    max-height: 500px;
    padding-bottom: 20px;
}

.random-ip-faq-item.active .random-ip-faq-icon {
    transform: rotate(45deg);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .random-ip-hero h1 {
        font-size: 2rem;
    }
    
    .random-ip-hero p {
        font-size: 1rem;
    }
    
    .random-ip-controls {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .random-ip-info-boxes {
        grid-template-columns: 1fr;
    }
    
    .random-ip-content-title,
    .random-ip-faq-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .random-ip-generator {
        padding: 20px;
    }
    
    .random-ip-hero {
        padding: 30px 15px;
    }
    
    .random-ip-btn {
        width: 100%;
    }
}