/* 集装箱船舶信息管理系统样式 */

/* 全局样式 */
body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(118, 75, 162, 0.05) 0%, transparent 50%);
    z-index: -1;
    pointer-events: none;
}

/* 导航栏样式 */
.navbar {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    min-height: 60px;
}

@media (max-width: 768px) {
    .navbar {
        min-height: 70px;
    }
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.4rem;
    color: #2c3e50 !important;
}

/* 折叠按钮强制样式 - 默认隐藏 */
.navbar-toggler {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

.navbar-toggler:hover {
    background-color: rgba(255, 255, 255, 0.9) !important;
    border-color: rgba(44, 62, 80, 0.5) !important;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(44, 62, 80, 0.25) !important;
    background-color: rgba(255, 255, 255, 0.9) !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2844, 62, 80, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    width: 1.2em !important;
    height: 1.2em !important;
    display: block !important;
}

.navbar-nav .nav-link {
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 0 4px;
    padding: 8px 16px !important;
    color: #2c3e50 !important;
}

.navbar-nav .nav-link:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea !important;
}

.navbar-nav .nav-link.active {
    background: rgba(102, 126, 234, 0.15);
    color: #667eea !important;
}

/* 卡片样式 */
.card {
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    transition: all 0.3s ease;
    color: #2c3e50;
}

/* 船舶信息列表卡片特殊圆角 */
.ship-list-card {
    border-radius: 20px !important;
}

/* 船舶卡片点击效果 */
.ship-card {
    transition: all 0.3s ease !important;
}

.ship-card:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
}

.ship-card:active {
    transform: translateY(0) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
}

/* 编辑页面背景色 */
.edit-page {
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%) !important;
    min-height: 100vh;
}

/* 编辑页面卡片背景色 */
.edit-page .card {
    background: #f3f4f5 !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

/* 杂项部分字体统一 */
.edit-page .form-check-label {
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    color: #2c3e50 !important;
}

.edit-page .form-check-input {
    transform: scale(1.0) !important;
}

/* 增高器上法字体大小调整 */
.edit-page #height_increaser_method_div .form-label {
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    color: #2c3e50 !important;
}

.edit-page #height_increaser_method_div .form-select {
    font-size: 0.9rem !important;
}

.card-title {
    color: #2c3e50 !important;
    font-weight: 600;
}

.card-text {
    color: #495057;
}

.card small {
    color: #6c757d;
}

/* 表格文字颜色 */
.table td {
    color: #2c3e50 !important;
}

.table .fw-bold {
    color: #495057 !important;
}

/* 详细信息页面特殊样式 */
.card-body .table td {
    color: #2c3e50 !important;
}

.card-body .table .fw-bold {
    color: #495057 !important;
    font-weight: 600 !important;
}

/* 船舶详细信息页面特殊样式 */
.ship-detail-section {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.ship-detail-section h6 {
    color: #667eea;
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e9ecef;
}

.ship-detail-table {
    margin-bottom: 0;
}

.ship-detail-table tr {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.ship-detail-table tr:last-child {
    border-bottom: none;
}

.ship-detail-table td {
    padding: 0.75rem 0.5rem;
    vertical-align: middle;
    font-size: 1rem;
}

.ship-detail-table .fw-bold {
    width: 35%;
    color: #495057 !important;
    font-weight: 600 !important;
    font-size: 1rem;
}

.ship-detail-table td:last-child {
    color: #2c3e50 !important;
    font-size: 1rem;
}

/* 徽章样式优化 */
.ship-detail-table .badge {
    font-size: 0.9rem !important;
    padding: 0.5rem 0.75rem !important;
    font-weight: 600 !important;
}

/* 船体新旧角标样式 */
.badge {
    font-size: 0.85rem !important;
    padding: 0.4rem 0.7rem !important;
    font-weight: 600 !important;
}

/* 搜索框样式 */
.search-card {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1) !important;
    backdrop-filter: blur(10px) !important;
}

/* 表单标签样式 */
.form-label {
    color: #2c3e50 !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    margin-bottom: 0.5rem !important;
}

.form-check-label {
    color: #2c3e50 !important;
    font-weight: 500 !important;
    font-size: 0.9rem !important;
}

.search-card .form-label {
    color: #2c3e50 !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
}

.search-card .form-control {
    background: rgba(255, 255, 255, 0.8) !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    color: #2c3e50 !important;
    font-size: 0.9rem !important;
}

.search-card .form-control:focus {
    background: rgba(255, 255, 255, 0.95) !important;
    border-color: #3498db !important;
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25) !important;
}

.search-card .btn {
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    padding: 0.5rem 1rem !important;
}

/* 搜索框响应式设计 */
@media (max-width: 768px) {
    .search-card .form-label {
        font-size: 0.85rem !important;
        margin-bottom: 0.3rem !important;
    }
    
    .search-card .form-control {
        font-size: 0.85rem !important;
        padding: 0.4rem 0.6rem !important;
    }
    
    .search-card .btn {
        font-size: 0.85rem !important;
        padding: 0.4rem 0.8rem !important;
    }
    
    .search-card .d-flex.gap-2 {
        flex-direction: column !important;
        gap: 0.5rem !important;
    }
    
    .search-card .d-flex.gap-2 .btn {
        width: 100% !important;
    }
}

@media (max-width: 576px) {
    .search-card .card-body {
        padding: 1rem !important;
    }
    
    .search-card .form-label {
        font-size: 0.8rem !important;
    }
    
    .search-card .form-control {
        font-size: 0.8rem !important;
        padding: 0.35rem 0.5rem !important;
    }
    
    .search-card .btn {
        font-size: 0.8rem !important;
        padding: 0.35rem 0.7rem !important;
    }
    
    /* 移动端表单标签样式 */
    .form-label {
        font-size: 0.85rem !important;
        margin-bottom: 0.4rem !important;
        font-weight: 600 !important;
        color: #2c3e50 !important;
    }
    
    .form-check-label {
        font-size: 0.85rem !important;
        font-weight: 500 !important;
        color: #2c3e50 !important;
    }
}

/* 备注区域特殊样式 */
.ship-remarks {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
}

.ship-remarks h6 {
    color: #856404 !important;
    font-weight: 600;
    font-size: 1rem;
}

.ship-remarks div {
    color: #856404 !important;
    font-size: 1rem;
    line-height: 1.5;
}

/* 时间信息区域 */
.ship-time-info {
    background: #e3f2fd;
    border: 1px solid #bbdefb;
    border-radius: 8px;
    padding: 1rem;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.card-header {
    background: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px 16px 0 0 !important;
    padding: 1.5rem;
}

/* 表格样式 */
.table {
    margin-bottom: 0;
    background: transparent;
}

.table th {
    border-top: none;
    font-weight: 600;
    color: #2c3e50;
    background: rgba(248, 249, 250, 0.8);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 1rem 0.75rem;
    font-size: 0.9rem;
}

.table td {
    vertical-align: middle;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1rem 0.75rem;
    background: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.table-hover tbody tr:hover {
    background: rgba(102, 126, 234, 0.05);
}

.table-hover tbody tr:hover td {
    background: transparent;
}

/* 按钮样式 */
.btn {
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: #667eea;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    background: #5a6fd8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.btn-outline-info {
    background: transparent;
    border: 1px solid #17a2b8;
    color: #17a2b8;
}

.btn-outline-warning {
    background: transparent;
    border: 1px solid #ffc107;
    color: #ffc107;
}

.btn-outline-danger {
    background: transparent;
    border: 1px solid #dc3545;
    color: #dc3545;
}

.btn-outline-info:hover {
    background: #17a2b8;
    color: white;
    transform: translateY(-1px);
}

.btn-outline-warning:hover {
    background: #ffc107;
    color: #2c3e50;
    transform: translateY(-1px);
}

.btn-outline-danger:hover {
    background: #dc3545;
    color: white;
    transform: translateY(-1px);
}

.btn-group-sm > .btn {
    padding: 0.4rem 0.6rem;
    font-size: 0.875rem;
    margin: 0 1px;
}

/* 徽章样式 */
.badge {
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 12px;
    padding: 0.4rem 0.8rem;
}

.badge.bg-primary {
    background: #667eea !important;
}

.badge.bg-success {
    background: #28a745 !important;
}

.badge.bg-warning {
    background: #ffc107 !important;
    color: #2c3e50 !important;
}

.badge.bg-danger {
    background: #dc3545 !important;
}

/* 表单样式 */
.form-label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.form-control,
.form-select {
    border-radius: 8px;
    border: 1px solid #dee2e6;
    background: #fff;
    transition: all 0.3s ease;
    padding: 0.75rem 1rem;
}

.form-control:focus,
.form-select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.form-check-input:checked {
    background-color: #667eea;
    border-color: #667eea;
}

.form-check-label {
    font-weight: 500;
    color: #2c3e50;
    margin-left: 0.5rem;
}

/* 警告框样式 */
.alert {
    border: none;
    border-radius: 8px;
    font-weight: 500;
    border-left: 4px solid;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border-left-color: #28a745;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border-left-color: #dc3545;
}

.alert-warning {
    background-color: #fff3cd;
    color: #856404;
    border-left-color: #ffc107;
}

.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border-left-color: #17a2b8;
}

/* 模态框样式 */
.modal-content {
    border: none;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.modal-header {
    border-bottom: 1px solid #dee2e6;
    border-radius: 12px 12px 0 0;
    background: #fff;
}

.modal-footer {
    border-top: 1px solid #dee2e6;
    border-radius: 0 0 12px 12px;
    background: #fff;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .card-body {
        padding: 0.75rem;
    }
    
    .table-responsive {
        font-size: 0.8rem;
        border-radius: 8px;
        overflow: hidden;
    }
    
    .table th,
    .table td {
        padding: 0.5rem 0.3rem;
        font-size: 0.75rem;
        white-space: nowrap;
    }
    
    .btn-group-sm > .btn {
        padding: 0.25rem 0.4rem;
        font-size: 0.7rem;
    }
    
    .navbar-brand {
        font-size: 1.3rem;
        text-align: left;
        width: auto;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        height: 100%;
    }
    
    .navbar-nav {
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .navbar-toggler {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        margin-left: auto;
        border: 1px solid rgba(255, 255, 255, 0.3);
        padding: 0.25rem 0.5rem;
        background-color: rgba(255, 255, 255, 0.1);
        z-index: 1050;
        position: relative;
    }
    
    .navbar-toggler:hover {
        background-color: rgba(255, 255, 255, 0.2);
        border-color: rgba(255, 255, 255, 0.5);
    }
    
    .navbar-toggler:focus {
        box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
        background-color: rgba(255, 255, 255, 0.2);
    }
    
    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
        width: 1.2em;
        height: 1.2em;
    }
    
    .card-header h5 {
        font-size: 1rem;
        text-align: center;
    }
    
    .badge {
        font-size: 0.65rem;
        padding: 0.2rem 0.5rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding-left: 5px;
        padding-right: 5px;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
        text-align: left;
        width: auto;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        height: 100%;
    }
    
    .navbar-nav {
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .navbar-toggler {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        margin-left: auto;
        border: 1px solid rgba(255, 255, 255, 0.3);
        padding: 0.25rem 0.5rem;
        background-color: rgba(255, 255, 255, 0.1);
        z-index: 1050;
        position: relative;
    }
    
    .navbar-toggler:hover {
        background-color: rgba(255, 255, 255, 0.2);
        border-color: rgba(255, 255, 255, 0.5);
    }
    
    .navbar-toggler:focus {
        box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
        background-color: rgba(255, 255, 255, 0.2);
    }
    
    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
        width: 1.2em;
        height: 1.2em;
    }
    
    .card-header {
        padding: 1rem 0.75rem;
    }
    
    .card-header h5 {
        font-size: 0.95rem;
        text-align: center;
    }
    
    .table th,
    .table td {
        padding: 0.4rem 0.2rem;
        font-size: 0.7rem;
    }
    
    .btn {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
    }
    
    .btn-group-sm > .btn {
        padding: 0.2rem 0.3rem;
        font-size: 0.65rem;
    }
    
    .badge {
        font-size: 0.6rem;
        padding: 0.15rem 0.4rem;
    }
    
    /* 隐藏一些不重要的列 - 仅应用于列表页面 */
    .table-responsive .table th:nth-child(2),
    .table-responsive .table td:nth-child(2) {
        display: none;
    }
    
    .table-responsive .table th:nth-child(6),
    .table-responsive .table td:nth-child(6) {
        display: none;
    }
    
    .table-responsive .table th:nth-child(7),
    .table-responsive .table td:nth-child(7) {
        display: none;
    }
}

@media (max-width: 480px) {
    .navbar-brand {
        font-size: 1.1rem;
        text-align: left;
        width: auto;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        height: 100%;
    }
    
    .navbar-nav {
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .navbar-toggler {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        margin-left: auto;
        border: 1px solid rgba(255, 255, 255, 0.3);
        padding: 0.25rem 0.5rem;
        background-color: rgba(255, 255, 255, 0.1);
        z-index: 1050;
        position: relative;
    }
    
    .navbar-toggler:hover {
        background-color: rgba(255, 255, 255, 0.2);
        border-color: rgba(255, 255, 255, 0.5);
    }
    
    .navbar-toggler:focus {
        box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
        background-color: rgba(255, 255, 255, 0.2);
    }
    
    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
        width: 1.2em;
        height: 1.2em;
    }
    
    .table th,
    .table td {
        padding: 0.3rem 0.15rem;
        font-size: 0.65rem;
    }
    
    .btn-group-sm > .btn {
        padding: 0.15rem 0.25rem;
        font-size: 0.6rem;
    }
    
    /* 进一步隐藏列 */
    .table th:nth-child(5),
    .table td:nth-child(5) {
        display: none;
    }
    
    .table th:nth-child(8),
    .table td:nth-child(8) {
        display: none;
    }
}

/* 移动端卡片样式 */
@media (max-width: 991px) {
    .d-lg-none .card {
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        border: 1px solid rgba(0, 0, 0, 0.05);
        background: #ffffff;
        color: #2c3e50;
    }
    
    .d-lg-none .card-title {
        color: #2c3e50 !important;
        font-weight: 600;
    }
    
    .d-lg-none .card-text {
        color: #495057;
    }
    
    .d-lg-none .card small {
        color: #6c757d;
    }
    
    .d-lg-none .text-muted {
        color: #6c757d !important;
    }
    
    /* 移动端表格文字颜色 */
    .d-lg-none .table td {
        color: #2c3e50 !important;
    }
    
    .d-lg-none .table .fw-bold {
        color: #495057 !important;
    }
    
    .d-lg-none .card-body {
        padding: 1rem;
    }
    
    .d-lg-none .card-title {
        font-size: 1.1rem;
        font-weight: 600;
    }
    
    .d-lg-none .btn-group-sm > .btn {
        padding: 0.4rem 0.6rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .d-lg-none .card-body {
        padding: 0.75rem;
    }
    
    .d-lg-none .card-title {
        font-size: 1rem;
    }
    
    .d-lg-none .btn-group-sm > .btn {
        padding: 0.3rem 0.5rem;
        font-size: 0.75rem;
    }
    
    .d-lg-none .row.g-2 > [class*="col-"] {
        margin-bottom: 0.5rem;
    }
}

/* 自定义工具提示 */
.tooltip {
    font-size: 0.875rem;
}

/* 加载动画 */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 空状态样式 */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: #6c757d;
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* 状态指示器 */
.status-indicator {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 0.5rem;
}

.status-online {
    background-color: #28a745;
}

.status-offline {
    background-color: #dc3545;
}

.status-warning {
    background-color: #ffc107;
}

/* 打印样式 */
@media print {
    .navbar,
    .btn,
    .modal {
        display: none !important;
    }
    
    .card {
        border: 1px solid #000;
        box-shadow: none;
    }
    
    .table {
        font-size: 12px;
    }
}

/* 深色模式支持 */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #1a1a1a;
        color: #e9ecef;
    }
    
    .card {
        color: #e9ecef;
    }
    
    .card-header {
        background-color: #2d3748;
        border-bottom-color: #4a5568;
    }
    
    .table th {
        background-color: #4a5568;
        color: #e9ecef;
    }
    
    .table td {
        border-top-color: #4a5568;
    }
    
    .form-control,
    .form-select {
        background-color: #4a5568;
        border-color: #718096;
        color: #e9ecef;
    }
    
    .form-control:focus,
    .form-select:focus {
        background-color: #4a5568;
        border-color: #63b3ed;
        color: #e9ecef;
    }
}

/* 动画效果 */
.fade-in {
    animation: fadeIn 0.8s ease-in;
}

@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(30px) scale(0.95); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0) scale(1); 
    }
}

.slide-in {
    animation: slideIn 0.6s ease-out;
}

@keyframes slideIn {
    from { 
        transform: translateX(-100%) rotateY(-15deg); 
        opacity: 0;
    }
    to { 
        transform: translateX(0) rotateY(0deg); 
        opacity: 1;
    }
}

/* 页面加载动画 */
.container {
    animation: fadeIn 0.5s ease-in;
}

/* 卡片进入动画 */
.card {
    animation: cardSlideIn 0.4s ease-out;
}

@keyframes cardSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 特殊效果 */
.glow {
    box-shadow: 0 0 30px rgba(102, 126, 234, 0.5);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        box-shadow: 0 0 20px rgba(102, 126, 234, 0.3);
    }
    to {
        box-shadow: 0 0 40px rgba(102, 126, 234, 0.6);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { 
        transform: scale(1); 
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.4);
    }
    50% { 
        transform: scale(1.05); 
        box-shadow: 0 0 0 10px rgba(102, 126, 234, 0);
    }
    100% { 
        transform: scale(1); 
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0);
    }
}

/* 浮动动画 */
.float {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* 渐变文字效果 */
.gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* 玻璃态效果 */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* 霓虹灯效果 */
.neon {
    text-shadow: 
        0 0 5px rgba(102, 126, 234, 0.5),
        0 0 10px rgba(102, 126, 234, 0.5),
        0 0 15px rgba(102, 126, 234, 0.5),
        0 0 20px rgba(102, 126, 234, 0.5);
    animation: neonFlicker 2s infinite alternate;
}

@keyframes neonFlicker {
    0%, 18%, 22%, 25%, 53%, 57%, 100% {
        text-shadow: 
            0 0 5px rgba(102, 126, 234, 0.5),
            0 0 10px rgba(102, 126, 234, 0.5),
            0 0 15px rgba(102, 126, 234, 0.5),
            0 0 20px rgba(102, 126, 234, 0.5);
    }
    20%, 24%, 55% {
        text-shadow: none;
    }
}

/* 详情页表格斑马纹样式 */
.ship-detail-table tbody tr:nth-of-type(odd) {
    background-color: #f8f9fa;
}

.ship-detail-table tbody tr:nth-of-type(even) {
    background-color: #ffffff;
}

.ship-detail-table tbody tr:hover {
    background-color: #e9ecef;
    transition: background-color 0.2s ease;
}
