/* ACTRA PRS Money Search - Stylesheet */
.actra-container {
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 8px;
    background-color: #f9f9f9;
    max-width: 100%;
    margin: 2rem auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.actra-container h3 {
    text-align: center;
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.actra-container p {
    text-align: center;
    color: #555;
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.actra-search-form {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
	align-items: center;
}

.actra-search-form input[type="text"] {
    flex-grow: 1;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
	width: 50%;
}

.actra-form-controls {
    display: flex;
    gap: 0.5rem;
}

.actra-search-form select {
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
}

.actra-search-form button {
    background-color: #da3838;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

.actra-search-form button:hover {
    background-color: #c12e2e;
}

.actra-search-form button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.actra-alphabet-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin: 1.5rem 0;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.actra-alphabet-link {
    padding: 0.5rem 0.75rem;
    background-color: #f0f0f0;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    border: 1px solid #ddd;
    transition: all 0.2s ease;
    font-weight: bold;
}

.actra-alphabet-link:hover {
    background-color: #da3838;
    color: white;
    border-color: #c12e2e;
}

#actra-results-container {
    margin-top: 1rem;
    width: 100%;
}

.actra-message {
    text-align: center;
    padding: 2rem;
    background-color: #fff;
    border: 1px dashed #ccc;
    border-radius: 5px;
    color: #666;
    font-style: italic;
}

.actra-message.error {
    background-color: #ffebee;
    border-color: #ffcdd2;
    color: #d32f2f;
    font-style: normal;
    text-align: left;
    white-space: pre-wrap;
    word-break: break-all;
}

.actra-results-count {
    text-align: center;
    padding: 10px;
    background-color: #e8f5e9;
    border-radius: 4px;
    margin-bottom: 1rem;
    font-weight: bold;
    color: #2e7d32;
}

.actra-results-table {
    width: 100%;
    border-collapse: collapse;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.actra-results-table th, 
.actra-results-table td {
    text-align: left;
    padding: 0.75rem;
    border-bottom: 1px solid #ddd;
}

.actra-results-table th {
    background-color: #4CAF50;
    color: white;
}

.actra-results-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.actra-results-table tr:hover {
    background-color: #f1f1f1;
}

.actra-debug-toggle {
    position: fixed;
    bottom: 10px;
    right: 10px;
    background: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10000;
    opacity: 0.7;
    transition: all 0.3s;
}

.actra-debug-toggle:hover {
    opacity: 1;
    transform: scale(1.1);
}
.actra-debug-toggle.active {
    background-color: #da3838;
}

main#g-mainbar.actra-blank {
    margin: 0;
    padding: 0;
}

main#g-mainbar.actra-blank .g-content {
    margin: 0;
    padding: 0;
}