/* Global Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Header Styles */
h1, h2 {
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.main-header {
    text-align: left; /* Aligns the header to the left */
    font-size: 3em;
    margin-top: 50px;
    padding-left: 20px; /* Add some padding for a bit of space from the edge */
    color: #B6FF00; /* Green color */
}

/* Layout - Two Columns */
.two-columns {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    gap: 20px;
}

/* Left Column (Micro-Action Generator) */
.left-column {
    flex: 1;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    min-height: 200px;
}

/* Centered and Styled Response Text */
.left-column .response-box {
    background-color: #f1f1f1;
    padding: 20px;
    margin-top: 20px;
    border-radius: 10px;
    text-align: center;
    color: #333;
    font-size: 1.2em;
    font-weight: bold;
    border: 1px solid #ccc;
    display: block; /* Ensure it is displayed properly */
}

/* Style for Select, Button, and Textarea */
.left-column select,
.left-column button {
    padding: 10px;
    margin-top: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 1em;
}

.left-column button {
    background-color: #0073e6;
    color: white;
    cursor: pointer;
    font-size: 1.1em;
}

.left-column button:hover {
    background-color: #005bb5;
}

.left-column textarea {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    resize: vertical;
}

/* Right Column (Share Your Story Box) */
.right-column {
    flex: 1;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative; /* Ensure positioning for the button */
}

.right-column h2 {
    font-size: 1.5em;
    margin-bottom: 15px;
}

.right-column textarea {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    resize: vertical;
}

/* Submit Your Ripple Button Styling */
.right-column button {
    background-color: #0073e6;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
    position: absolute;
    bottom: 20px; /* Aligns at the bottom */
    left: 20px; /* Left-aligned */
    width: auto;
}

.right-column button:hover {
    background-color: #005bb5;
}

/* Recent Ripples Section */
.recent-ripples {
    margin-top: 40px;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.recent-ripples h2 {
    font-size: 1.5em;
    margin-bottom: 20px;
}

.recent-ripples ul {
    list-style-type: none;
    padding-left: 0;
}

.recent-ripples li {
    padding: 15px;
    margin-bottom: 10px;
    background-color: #e1e1e1; /* Darker background */
    border-radius: 5px;
    color: #333; /* Dark text color */
}

.recent-ripples li:hover {
    background-color: #d1d1d1; /* Lighter hover color */
}

.recent-ripples .category {
    font-weight: bold;
    color: #0073e6;
}

.recent-ripples .timestamp {
    font-size: 0.8em;
    color: #888;
}

/* Admin Flagged Ripples */
.flagged-ripples {
    margin-top: 30px;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.flagged-ripples h2 {
    font-size: 1.5em;
    margin-bottom: 20px;
}

.flagged-ripples ul {
    list-style-type: none;
    padding-left: 0;
}

.flagged-ripples li {
    padding: 15px;
    margin-bottom: 10px;
    background-color: #f9f9f9;
    border-radius: 5px;
}

.flagged-ripples li:hover {
    background-color: #f1f1f1;
}

/* General Box Styling */
.card {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card-header {
    font-weight: bold;
    font-size: 1.5em;
}
