#smrl-container, #smrl-my-links-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    max-width: 700px;
    margin: 20px auto;
    padding: 20px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
}

#smrl-shortener-form h2, #smrl-my-links-container h2 {
    margin-top: 0;
    font-size: 24px;
    color: #333;
}

#smrl-long-url {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

#smrl-shorten-btn {
    background-color: #0073aa;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

#smrl-shorten-btn:hover {
    background-color: #005a87;
}

#smrl-feedback {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
}

#smrl-feedback.success {
    background-color: #e0f2e0;
    border: 1px solid #c0e0c0;
}

#smrl-feedback.error {
    background-color: #f2e0e0;
    border: 1px solid #e0c0c0;
    color: #a00;
}

#smrl-links-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

#smrl-links-table th, #smrl-links-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

/* Actions column buttons layout */
#smrl-links-table td.smrl-actions button {
    display: inline-block;
    margin: 4px 6px 4px 0;
    background-color: #0073aa;
    color: #fff;
    padding: 6px 10px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 14px;
}
#smrl-links-table td.smrl-actions button:hover {
    background-color: #005a87;
}
#smrl-links-table td.smrl-actions button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

#smrl-links-table .smrl-expire-input {
    padding: 6px 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#smrl-links-table th {
    background-color: #f1f1f1;
}

.smrl-long-url a {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    max-width: 250px;
    vertical-align: middle;
}
