*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

.wp-link-submission-form {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    margin: 20px auto
}

.wp-link-submission-form p {
    margin-bottom: 15px
}

.wp-link-submission-form label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px
}

.wp-link-submission-input {
    color: #000;
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box
}

.wp-link-submission-submit-btn {
    display: block;
    width: 100%;
    background-color: #0073aa;
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease
}

.wp-link-submission-submit-btn:hover {
    background-color: #005177
}

#customModal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    background-color: white;
    padding: 20px;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    max-width: 400px;
    width: 100%;
    overflow-y: auto
}

#customModalMessage {
    margin-bottom: 20px;
    font-size: 16px;
    color: #333
}

#closeModal {
    display: block;
    width: 100%;
    background-color: #0073aa;
    color: white;
    padding: 8px 5px;
    margin: 10px 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease
}

#closeModal:hover {
    background-color: #005177
}

.processed-links ul {
    list-style-type: none !important;
    padding: 0;
    margin: 0;
}

.processed-links li {
    border: 2px solid transparent;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    position: relative;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.processed-links .status-success {
    border-color: #4CAF50;
    list-style-type: none !important;
}

.processed-links .status-error {
    border-color: #F44336;
    background-color: #FFF0F0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.processed-links .status-error::after {
    content: "提供的信息有误❌";
    font-size: 40px;
    position: absolute;
    right: 10px;
    bottom: 10px;
    color: #F44336;
}

.processed-links h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center;
}

.processed-links p {
	margin-bottom: 1px !important;
    font-size: 14px;
    margin: 5px 0;
}

/* 在错误卡片中隐藏除了原始链接、提交时间、处理时间外的所有信息 */
.processed-links .status-error .modified-links,
.processed-links .status-error .extract-code,
.processed-links .status-error .password,
.processed-links .status-error .additional-info {
    display: none;
}


#pagination-controls {
    text-align: center;
    margin-top: 20px
}

#pagination-controls button {
    background-color: #0073aa;
    color: white;
    padding: 8px 12px;
    margin: 0 5px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease
}

#pagination-controls button[disabled] {
    background-color: #ccc;
    cursor: not-allowed
}

#pagination-controls button:hover:not([disabled]) {
    background-color: #005177
}