html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

/* 页面主体样式由 _PublicLayout.cshtml 中的样式控制 */

/* CRM2025 自定义样式 */
.card {
    transition: transform 0.2s;
    margin-bottom: 1.5rem;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.12);
}

.navbar-brand {
    font-weight: bold;
    color: white !important;
}

.form-floating > label {
    font-weight: 500;
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

/* 登录和注册页面样式 */
.login-container, .register-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.form-section {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.external-login-section {
    background: #fff;
    padding: 2rem;
    border: 1px solid #e9ecef;
    border-radius: 6px;
}

/* 首页特色卡片 */
.feature-card {
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.welcome-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.welcome-section h1 {
    color: white;
}

/* 关于我们页面样式 */
.about-card {
    transition: all 0.3s ease;
    border: none !important;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
}

.tech-icon {
    transition: all 0.3s ease;
}

.tech-icon:hover {
    transform: scale(1.1);
}

.architecture-block {
    transition: all 0.3s ease;
}

.architecture-block:hover {
    transform: scale(1.05);
    background-color: #f8f9fa !important;
}

.stats-number {
    font-size: 2rem;
    font-weight: bold;
    line-height: 1;
}

.about-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    padding: 3rem 2rem;
    color: white;
    margin-bottom: 3rem;
}

.feature-highlight {
    background: linear-gradient(45deg, #f8f9fa, #e9ecef);
    border-radius: 10px;
    padding: 2rem;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .about-hero {
        padding: 2rem 1rem;
    }
    
    .architecture-block {
        margin-bottom: 1rem;
    }
}

/* 产品信息页面底部间距强制修正 */
.container.my-5 {
    margin-bottom: 5mm !important;
}

/* 页面特定的底部间距控制 */
body[data-page="CloudSystem"],
body[data-page="ITService"], 
body[data-page="Enterprise"],
body[data-page="Privacy"] {
    margin-bottom: 0 !important;
}

body[data-page="CloudSystem"] .container,
body[data-page="ITService"] .container,
body[data-page="Enterprise"] .container,
body[data-page="Privacy"] .container {
    margin-bottom: 5mm !important;
    padding-bottom: 0 !important;
}

/* 产品页面和隐私政策页面footer精确控制 - 参照联系我们页面 */
body[data-page="CloudSystem"] footer,
body[data-page="ITService"] footer,
body[data-page="Enterprise"] footer,
body[data-page="Privacy"] footer {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* 产品页面和隐私政策页面public-content精确控制 */
body[data-page="CloudSystem"] .public-content,
body[data-page="ITService"] .public-content,
body[data-page="Enterprise"] .public-content,
body[data-page="Privacy"] .public-content {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* 全局页脚控制 */
footer {
    margin-top: 0 !important;
    padding-top: 10px !important;
}

/* 强制覆盖所有可能的布局问题 */
.public-content {
    padding-bottom: 0 !important;
}