/* styles.css */
@tailwind base;
@tailwind components;
@tailwind utilities;

body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    box-sizing: border-box;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f0f0f0; /* Optional: background color */
}

.container {
    background-color: #fff; /* White background for forms */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
    margin: 0 10px;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center align items */
}

.form-title {
    text-align: center;
    margin-bottom: 20px;
}

.input-group {
    position: relative;
    margin-bottom: 20px;
    width: 100%; /* Ensure input groups take full width */
    display: flex;
    justify-content: center; /* Center align input groups */
}

.input-group i {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 10px;
    color: #888;
}

.input-group input {
    width: calc(100% - 40px);
    padding: 10px;
    padding-left: 40px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    outline: none;
}

.input-group label {
    position: absolute;
    top: 10px;
    left: 60px;
    color: #888;
    font-size: 0.8rem;
    pointer-events: none;
    transition: 0.3s;
}

.input-group input:focus + label,
.input-group input:not(:placeholder-shown) + label {
    top: -10px;
    font-size: 0.8rem;
    color: #333;
    font-weight: bold;
}

.btn {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 4px;
    background-color: #38a169; /* Green color */
    color: #fff;
    cursor: pointer;
    font-size: 1rem;
}

.links {
    text-align: center;
    margin-top: 10px;
}

.links p {
    font-size: 0.8rem;
}

.links button {
    border: none;
    background: none;
    color: #007bff;
    cursor: pointer;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.links button:hover {
    color: #0056b3;
}

/* Homepage styles */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f5f5f5; /* Light gray background */
    color: #333; /* Dark gray text color */
}

.container {
    max-width: 960px; /* Set a maximum width for the container */
    margin: 0 auto; /* Center the container horizontally */
    padding: 20px; /* Add padding around the content */
}

h1, h2 {
    text-align: center; /* Center the headings */
}

/* Add some padding around the elements */
#logout {
    margin-bottom: 20px;
}

#profileForm {
    margin-bottom: 20px;
}

#emailsTable {
    margin-bottom: 20px;
}

/* Vertical Layout */
.container > * { /* Target all direct children of the container */
    margin-bottom: 20px; /* Add space between elements */
}

#emailsTable { /* Specific style for the emails table */
    margin-bottom: 40px; /* More spacing for the table */
}

body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.post-container {
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 500px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.post-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.post-header img {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.post-header .username {
    font-weight: bold;
    margin-right: 5px;
}

.post-header .time {
    color: gray;
    font-size: 12px;
}

.post-content {
    margin-bottom: 10px;
}

.post-content .title {
    color: #43a047;
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 5px;
}

.post-footer {
    display: flex;
    justify-content: space-around;
    border-top: 1px solid #eee;
    padding-top: 10px;
}

.post-footer a {
    text-decoration: none;
    color: #007bff;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.post-footer a img {
    margin-right: 5px;
}

.custom-button {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0.5rem 1rem; /* Adjust padding as needed */
    width: 100%; /* Full width within container */
    border-radius: 0.375rem; /* Equivalent to rounded-md */
    margin-bottom: 1rem; /* Equivalent to mb-4 */
}

.logout-button {
    background-color: #e3342f; /* Equivalent to hover:bg-red-700 */
}

.simulate-emails-button {
    background-color: #38a169; /* Equivalent to hover:bg-green-600 */
}

.portfolio-button {
    background-color: #3182ce; /* Equivalent to hover:bg-blue-600 */
}

.custom-button:hover {
    opacity: 0.9; /* Simple hover effect */
}

.custom-button i {
    margin-right: 0.5rem; /* Equivalent to mr-2 */
}

.recover a {
    color: #007bff; /* Blue color for the link */
    text-decoration: none; /* Optional: Remove underline */
    transition: color 0.3s; /* Optional: Smooth transition for hover effect */
}

.recover a:hover {
    color: #0056b3; /* Darker blue on hover */
}