/* 申请友链页面样式 */
.lry-content-box {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #e8e8e8;
    transition: all 0.3s ease;
}

.lry-content-box:hover {
    box-shadow: 0 6px 25px rgba(0,0,0,0.12);
}

.lry-title {
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
    position: relative;
}

.lry-title h2 {
    color: #333;
    font-size: 24px;
    margin: 0 0 10px 0;
    font-weight: 600;
}

.lry-title-right {
    color: #666;
    font-size: 14px;
}

.lry-title-right a {
    color: #00A7EB;
    text-decoration: none;
}

.lry-title-right a:hover {
    text-decoration: underline;
}

.lry-form-box {
    max-width: 100%;
}

.lry-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.lry-table tr {
    border-bottom: 1px solid #f0f0f0;
}

.lry-table tr:last-child {
    border-bottom: none;
}

.lry-table-title {
    width: 120px;
    padding: 15px 20px 15px 0;
    font-weight: 500;
    color: #333;
    vertical-align: top;
    font-size: 14px;
}

.lry-table td:last-child {
    padding: 15px 0;
}

.lry-input-text {
    width: 100%;
    max-width: 400px;
    padding: 12px 15px;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    background: #fafbfc;
}

.lry-input-text:focus {
    border-color: #00A7EB;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 167, 235, 0.1);
    background: #fff;
}

.lry-textarea {
    width: 100%;
    max-width: 400px;
    padding: 12px 15px;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    background: #fafbfc;
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

.lry-textarea:focus {
    border-color: #00A7EB;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 167, 235, 0.1);
    background: #fff;
}

.lry-code {
    margin-left: 10px;
    border-radius: 4px;
    cursor: pointer;
    border: 1px solid #ddd;
    vertical-align: middle;
}

.red {
    color: #ff4757;
    font-weight: bold;
}

.lry-submit {
    background: linear-gradient(135deg, #00A7EB, #3690cf);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 167, 235, 0.3);
}

.lry-submit:hover {
    background: linear-gradient(135deg, #0098d4, #2d7bb8);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 167, 235, 0.4);
}

.lry-submit:active {
    transform: translateY(0);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .lry-content-box {
        padding: 20px;
        margin: 10px;
    }
    
    .lry-table {
        display: block;
    }
    
    .lry-table tr {
        display: block;
        margin-bottom: 15px;
        border-bottom: 1px solid #f0f0f0;
        padding-bottom: 15px;
    }
    
    .lry-table-title {
        display: block;
        width: 100%;
        padding: 0 0 8px 0;
        font-weight: 600;
        color: #333;
    }
    
    .lry-table td:last-child {
        padding: 0;
    }
    
    .lry-input-text,
    .lry-textarea {
        max-width: 100%;
    }
    
    .lry-title h2 {
        font-size: 20px;
    }
    
    .lry-submit {
        width: 100%;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .lry-content-box {
        padding: 15px;
        margin: 5px;
    }
    
    .lry-title h2 {
        font-size: 18px;
    }
    
    .lry-input-text,
    .lry-textarea {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .lry-code {
        margin-left: 5px;
        max-width: 80px;
    }
}

/* 表单验证提示样式 */
.form-error {
    border-color: #ff4757 !important;
    box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.1) !important;
}

.error-message {
    color: #ff4757;
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

/* 加载状态 */
.lry-submit.loading {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.lry-submit.loading:after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #fff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
    margin-left: 8px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
} 