/**
 * 猫份证样式
 */

/* 猫份证信息卡片 */
.cat-info-card {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 25px;
    margin-top: 30px;
    position: relative;
    overflow: hidden;
}

.paw-pattern {
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background-image: url('../images/paw-pattern.png');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.1;
}

.cat-photo-container {
    text-align: center;
    margin-bottom: 20px;
}

.cat-photo {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.cat-details h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.info-table {
    width: 100%;
    margin-bottom: 20px;
}

.info-table td {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.info-table td:first-child {
    font-weight: bold;
    width: 30%;
    color: #666;
}

.cat-id-number {
    font-family: monospace;
    font-size: 1.2rem;
    letter-spacing: 2px;
    background: #f8f8f8;
    padding: 10px;
    border-radius: 5px;
    margin: 10px 0;
    text-align: center;
}

/* 猫份证搜索表单 */
.cat-search-form {
    margin-bottom: 20px;
}

.search-input-group {
    display: flex;
    margin-bottom: 15px;
}

.search-input-group input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px 0 0 5px;
    font-size: 16px;
}

.btn-search {
    border-radius: 0 5px 5px 0;
    padding: 10px 20px;
}

.error-message {
    color: #e74c3c;
    background-color: #fdecea;
    padding: 10px 15px;
    border-radius: 5px;
    margin-bottom: 15px;
}

.loading {
    display: none;
    text-align: center;
    padding: 20px;
}

.loading-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 0 auto 10px;
}

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

/* 二维码样式 */
.cat-qrcode-container {
    text-align: center;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    margin-top: 20px;
}

.cat-qrcode-container h4 {
    margin-bottom: 15px;
    color: #333;
}

.qrcode-wrapper {
    display: inline-block;
    background: white;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.cat-qrcode-img {
    display: block;
    max-width: 100%;
}

.qrcode-text {
    margin-top: 10px;
    font-size: 14px;
    color: #666;
}
