/* Satellite Tracker V2 Styles */

/* General responsive container */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Hero Section */
.satellite-hero {
    position: relative;
    background: linear-gradient(rgba(10, 13, 20, 0.8), rgba(10, 13, 20, 0.95)), 
                url('../assets/images/rocket-launch-night.jpg') no-repeat center center;
    background-size: cover;
    padding: 6rem 2rem;
    text-align: center;
    color: #fff;
}

@media (max-width: 768px) {
    .satellite-hero {
        padding: 4rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .satellite-hero {
        padding: 3rem 1rem;
    }
}

.satellite-hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.development-badge {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    }
    50% {
        box-shadow: 0 4px 25px rgba(255, 107, 107, 0.5);
    }
    100% {
        box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    }
}

@media (max-width: 768px) {
    .hero-header {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .development-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

@media (max-width: 480px) {
    .hero-header {
        gap: 0.5rem;
    }
    
    .development-badge {
        font-size: 0.75rem;
        padding: 0.3rem 0.7rem;
    }
}

.satellite-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (max-width: 768px) {
    .satellite-hero h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 480px) {
    .satellite-hero h1 {
        font-size: 2.2rem;
        margin-bottom: 0.75rem;
    }
}

.satellite-hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .satellite-hero p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .satellite-hero p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }
    
    .hero-cta .primary-btn,
    .hero-cta .secondary-btn {
        width: 100%;
    }
}

.primary-btn, .secondary-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.primary-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

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

.secondary-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Visualization Section */
.visualization-section {
    padding: 2rem 0;
    background: linear-gradient(135deg, #0a0d14 0%, #1a1d2a 100%);
}

@media (max-width: 768px) {
    .visualization-section {
        padding: 1.5rem 0;
    }
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .section-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
        padding: 0 1rem;
    }
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    font-family: 'Space Grotesk', sans-serif;
}

@media (max-width: 768px) {
    .section-header h2 {
        font-size: 1.5rem;
    }
}

.visualization-controls {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.control-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.control-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.control-btn i {
    font-size: 1.2rem;
}

.visualization-container {
    position: relative;
    width: 100%;
    height: 600px;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

@media (max-width: 1024px) {
    .visualization-container {
        height: 500px;
    }
}

@media (max-width: 768px) {
    .visualization-container {
        height: 400px;
        border-radius: 8px;
    }
}

@media (max-width: 480px) {
    .visualization-container {
        height: 300px;
    }
}

#threejsContainer {
    width: 100%;
    height: 100%;
    position: relative;
    /* Ensure mouse events reach the canvas */
    pointer-events: auto !important;
    z-index: 1;
}

#threejsContainer canvas {
    /* Ensure canvas receives mouse events */
    pointer-events: auto !important;
    cursor: grab;
    position: relative;
    z-index: 1;
}

#threejsContainer canvas:active {
    cursor: grabbing;
}

.visualization-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none !important;
    z-index: 10;
    /* Ensure this div never captures events */
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* Force all children to not capture events by default */
.visualization-overlay * {
    pointer-events: none !important;
}

/* Only the satellite info panel should capture events */
.visualization-overlay .satellite-info-panel {
    pointer-events: auto !important;
}

/* Also allow interaction with buttons and inputs inside the panel */
.visualization-overlay .satellite-info-panel * {
    pointer-events: auto !important;
}

/* Debug: Make canvas interaction area clear */
#threejsContainer canvas {
    /* Add a subtle border to verify canvas boundaries during debugging */
    box-sizing: border-box;
}

.satellite-info-panel {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 320px;
    background: rgba(10, 13, 20, 0.95);
    border-radius: 12px;
    padding: 1.5rem;
    color: #fff;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    pointer-events: auto;
    max-height: calc(100% - 40px);
    overflow-y: auto;
}

.satellite-info-panel.active {
    transform: translateX(0);
}

.satellite-info-panel h3 {
    margin: 0 0 1rem 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: #4facfe;
}

.info-grid {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-label {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

.info-value {
    font-weight: 500;
    color: #fff;
}

.camera-info {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(10, 13, 20, 0.9);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: #fff;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 1rem;
}

.camera-position, .camera-distance {
    font-weight: 500;
}

/* Satellite Selection Section */
.satellite-selection-section {
    padding: 3rem 0;
    background: #0a0d14;
}

@media (max-width: 768px) {
    .satellite-selection-section {
        padding: 2rem 0;
    }
}

.search-container {
    display: flex;
    gap: 0.5rem;
    max-width: 400px;
}

@media (max-width: 1024px) {
    .search-container {
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .search-container {
        max-width: 100%;
        width: 100%;
    }
}

.search-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1rem;
    backdrop-filter: blur(10px);
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.search-input:focus {
    outline: none;
    border-color: #4facfe;
    box-shadow: 0 0 0 3px rgba(79, 172, 254, 0.2);
}

.search-btn {
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.satellite-categories {
    display: flex;
    gap: 0.5rem;
    margin: 2rem 0;
    overflow-x: auto;
    padding: 0.5rem 0;
}

@media (max-width: 768px) {
    .satellite-categories {
        margin: 1.5rem 0;
    }
}

.category-btn {
    padding: 0.75rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    backdrop-filter: blur(10px);
    font-weight: 500;
}

.category-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.category-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.satellites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

@media (max-width: 1280px) {
    .satellites-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 1024px) {
    .satellites-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
    }
}

@media (max-width: 600px) {
    .satellites-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.satellite-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.satellite-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border-color: rgba(79, 172, 254, 0.3);
}

.satellite-card.selected {
    border-color: #4facfe;
    box-shadow: 0 0 0 2px rgba(79, 172, 254, 0.3);
    background: rgba(79, 172, 254, 0.1);
}

.satellite-card-header {
    margin-bottom: 1rem;
}

.satellite-name {
    font-size: 0.8rem;
    font-weight: 400;
    color: #fff;
    margin: 0 0 0.5rem 0;
    font-family: 'Space Grotesk', sans-serif;
}

.satellite-id {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Inter', monospace;
}

.satellite-details {
    margin-bottom: 1.5rem;
}

.satellite-detail-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.detail-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.detail-value {
    color: #fff;
    font-weight: 500;
}

.satellite-actions {
    display: flex;
    gap: 0.5rem;
}

.satellite-action-btn {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.satellite-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.satellite-action-btn i {
    font-size: 0.9rem;
}

/* Load More Button Styles */
.load-more-container {
    text-align: center;
    margin: 2rem 0;
    padding: 1rem;
    display: flex;
    justify-content: center;
}

.load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.load-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
}

.load-more-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Orbital Data Section */
.orbital-data-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, #1a1d2a 0%, #0a0d14 100%);
}

@media (max-width: 768px) {
    .orbital-data-section {
        padding: 2rem 0;
    }
}

.orbital-controls {
    display: flex;
    gap: 0.5rem;
}

.orbital-btn {
    padding: 0.75rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    font-weight: 500;
}

.orbital-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.orbital-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.orbital-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

@media (max-width: 1024px) {
    .orbital-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.orbital-visualization {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    height: 400px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 1024px) {
    .orbital-visualization {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .orbital-visualization {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .orbital-visualization {
        height: 200px;
    }
}

.orbital-data-panel {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.orbital-tabs {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.orbital-tab {
    display: none;
}

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

.orbital-tab h3 {
    color: #4facfe;
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.tle-data, .orbital-parameters, .orbital-analytics {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tle-line {
    font-family: 'Inter', monospace;
    font-size: 0.85rem;
    color: #fff;
    margin-bottom: 0.5rem;
    word-break: break-all;
    line-height: 1.4;
}

.parameter-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.parameter-item:last-child {
    border-bottom: none;
}

.parameter-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.parameter-value {
    color: #fff;
    font-weight: 500;
    font-family: 'Inter', monospace;
}

.placeholder-text {
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
    text-align: center;
    margin: 2rem 0;
}

/* Visibility Section */
.visibility-section {
    padding: 3rem 0;
    background: #0a0d14;
}

@media (max-width: 768px) {
    .visibility-section {
        padding: 2rem 0;
    }
}

.location-selector {
    display: flex;
    gap: 1rem;
}

.location-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    font-weight: 500;
}

.location-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.visibility-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    margin-top: 2rem;
}

@media (max-width: 1024px) {
    .visibility-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.location-form {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #fff;
    font-weight: 500;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1rem;
    backdrop-filter: blur(10px);
}

.form-input:focus {
    outline: none;
    border-color: #4facfe;
    box-shadow: 0 0 0 3px rgba(79, 172, 254, 0.2);
}

.form-actions {
    margin-top: 2rem;
}

.visibility-results {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    max-height: 500px;
    overflow-y: auto;
}

.visibility-header {
    margin-bottom: 2rem;
}

.visibility-header h3 {
    color: #4facfe;
    margin: 0 0 0.5rem 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.visibility-header p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.5;
}

.visibility-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.visibility-feature {
    text-align: center;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.visibility-feature:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.visibility-feature i {
    font-size: 2rem;
    color: #4facfe;
    margin-bottom: 1rem;
}

.visibility-feature h4 {
    color: #fff;
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.visibility-feature p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Loading and Empty States */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 13, 20, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    color: #fff;
    transition: opacity 0.3s ease;
}

.loading-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid #4facfe;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-overlay p {
    font-size: 1.1rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
}

.empty-state {
    text-align: center;
    padding: 3rem 2rem;
    color: rgba(255, 255, 255, 0.6);
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.3);
}

.empty-state p {
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.5;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 400px;
}

.notification {
    background: rgba(10, 13, 20, 0.95);
    color: #fff;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.notification.show {
    transform: translateX(0);
}

.notification i {
    font-size: 1.2rem;
}

.notification.info {
    border-left: 4px solid #4facfe;
}

.notification.info i {
    color: #4facfe;
}

.notification.success {
    border-left: 4px solid #4CAF50;
}

.notification.success i {
    color: #4CAF50;
}

.notification.warning {
    border-left: 4px solid #FFC107;
}

.notification.warning i {
    color: #FFC107;
}

.notification.error {
    border-left: 4px solid #F44336;
}

.notification.error i {
    color: #F44336;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: rgba(10, 13, 20, 0.95);
    border-radius: 12px;
    padding: 2rem;
    max-width: 90vw;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.modal-close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .orbital-container, .visibility-container {
        grid-template-columns: 1fr;
    }
    
    .satellite-detail-content {
        grid-template-columns: 1fr;
    }
    
    .orbital-visualization {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .satellite-hero h1 {
        font-size: 2.5rem;
    }
    
    .visualization-container {
        height: 400px;
    }
    
    .section-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .search-container {
        width: 100%;
    }
    
    .satellite-info-panel {
        width: calc(100% - 40px);
        right: 20px;
        left: 20px;
    }
}

@media (max-width: 480px) {
    .satellite-hero {
        padding: 2rem 1rem;
    }
    
    .satellite-hero h1 {
        font-size: 2rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .primary-btn, .secondary-btn {
        width: 100%;
    }
    
    .satellites-grid {
        grid-template-columns: 1fr;
    }
    
    .visualization-container {
        height: 300px;
    }
    
    .satellite-info-panel {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) translateX(100%);
        width: calc(100% - 2rem);
        max-width: 400px;
        max-height: 80vh;
    }
    
    .satellite-info-panel.active {
        transform: translate(-50%, -50%) translateX(0);
    }
    
    .search-btn,
    .control-btn,
    .orbital-btn {
        padding: 0.75rem 1rem;
    }
    
    .orbital-visualization,
    .visualization-container {
        border-radius: 8px;
    }
    
    .footer {
        padding: 2rem 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .leaflet-popup-content {
        max-width: 250px;
        font-size: 0.9rem;
    }
    
    .map-container, 
    .visualization-container,
    .orbital-visualization {
        border-radius: 8px;
    }
}

/* Touch-friendly interactions */
.touch-active {
    transform: scale(0.95);
}

.satellite-card.touch-active {
    transform: translateY(-2px) scale(0.98);
}

.map-control-btn.touch-active,
.control-btn.touch-active,
.orbital-btn.touch-active {
    transform: scale(0.95);
}

/* Enhanced satellite info panel for mobile */
.satellite-info-panel,
.visualization-overlay {
    pointer-events: auto;
}

.satellite-info-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.1) 0%, rgba(102, 126, 234, 0.1) 100%);
    border-radius: 12px;
    z-index: -1;
}

@media (max-width: 480px) {
    .satellite-info-panel::before {
        border-radius: 8px;
    }
    
    .search-btn,
    .control-btn,
    .orbital-btn {
        min-height: 44px;
    }
    
    .orbital-visualization,
    .visualization-container {
        border-radius: 8px;
    }
    
    .footer {
        padding: 2rem 1rem;
    }
    
    .satellite-info-panel {
        border-radius: 8px;
    }
}

/* Orbital visualization placeholder */
.orbital-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    padding: 2rem;
}

.orbital-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.3);
}

.orbital-placeholder p {
    font-size: 1.1rem;
    margin: 0 0 1.5rem 0;
    line-height: 1.5;
}

.orbital-placeholder-info {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 2rem;
}

.orbital-placeholder-actions {
    display: flex;
    gap: 1rem;
}

.orbital-placeholder-btn {
    padding: 0.75rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    font-weight: 500;
}

.orbital-placeholder-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
} 