/* AISI Registry Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.app-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header Styles */
.app-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: bold;
    font-size: 24px;
    text-decoration: none;
}

.logo .aisi {
    color: #409EFF;
    margin-right: 8px;
}

.logo .registry {
    color: #303133;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links .el-link {
    font-size: 16px;
    color: #606266;
    transition: color 0.3s;
}

.nav-links .el-link:hover,
.nav-links .el-link.is-active {
    color: #409EFF;
}

.domain {
    color: #909399;
    font-size: 14px;
    font-family: 'Monaco', 'Menlo', monospace;
}

/* Main Content */
.app-main {
    flex: 1;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Home Page */
.home-page {
    animation: fadeIn 0.5s ease;
}

.hero {
    text-align: center;
    padding: 60px 0;
    color: white;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.features {
    margin: 60px 0;
}

.feature-card {
    height: 100%;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 40px;
    text-align: center;
    margin-bottom: 15px;
}

.quick-stats {
    margin-top: 40px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 36px;
    font-weight: bold;
    color: #409EFF;
    margin-bottom: 10px;
}

.stat-label {
    color: #606266;
    font-size: 14px;
}

/* Directory Page */
.page-header {
    text-align: center;
    margin-bottom: 40px;
    color: white;
}

.page-header h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.directory-controls {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.services-grid {
    margin-bottom: 40px;
}

.service-card {
    height: 100%;
    margin-bottom: 20px;
    transition: all 0.3s;
}

.service-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
}

.service-header {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.service-title {
    margin: 0 0 10px 0;
    color: #303133;
    font-size: 18px;
    line-height: 1.4;
}

.service-description {
    color: #606266;
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.5;
}

.service-meta {
    font-size: 12px;
    color: #909399;
    margin-bottom: 15px;
}

.service-meta div {
    margin-bottom: 5px;
}

.service-id code {
    background: #f5f7fa;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Monaco', 'Menlo', monospace;
}

.service-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.pagination-container {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.empty-state {
    text-align: center;
    padding: 60px 0;
}

/* Register Page */
.register-form-card {
    margin-bottom: 30px;
}

.form-hint {
    font-size: 12px;
    color: #909399;
    margin-top: 5px;
}

.register-info-card {
    background: #f5f7fa;
}

.register-info-card h3 {
    margin-bottom: 15px;
    color: #303133;
}

.register-info-card ul {
    padding-left: 20px;
    color: #606266;
}

.register-info-card li {
    margin-bottom: 8px;
}

/* Footer */
.app-footer {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 30px 20px;
    margin-top: 60px;
}

.footer-content {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content p {
    margin-bottom: 10px;
}

.footer-content .el-link {
    color: #409EFF;
    margin: 0 10px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        height: auto;
        padding: 15px;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    .nav-links {
        gap: 15px;
        margin-bottom: 15px;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .subtitle {
        font-size: 16px;
    }
    
    .actions {
        flex-direction: column;
        align-items: center;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .directory-controls {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 30px 0;
    }
    
    .feature-card {
        margin-bottom: 20px;
    }
}
